From 9a9c4b54e8b54e5a2c841ec90dd1f67dd2c2a6ba Mon Sep 17 00:00:00 2001 From: NSoiffer Date: Wed, 15 Jun 2022 22:43:47 +0100 Subject: [PATCH] forgot to make a literal by the the passed in param --- c-example/test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c-example/test.cpp b/c-example/test.cpp index 67ffc8d..4e31dae 100644 --- a/c-example/test.cpp +++ b/c-example/test.cpp @@ -9,7 +9,7 @@ #include bool singleTest(const char* mathml, bool doPrint) { - const char* returnedMathML = SetMathML("(mn)"); + const char* returnedMathML = SetMathML(mathml); if (returnedMathML == "") { const char* message = GetError(); printf("Illegal MathML. Message is: %s\n", message);