]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix muparser 6717/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Tue, 5 Jun 2018 21:12:11 +0000 (23:12 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Wed, 6 Jun 2018 07:54:12 +0000 (09:54 +0200)
bundled/muparser_v2_2_4/src/muParserTokenReader.cpp

index fec0a14c4e24f055a3600fb2bbd22d5b6cbec4c7..55daf8e1a6fd913ea241a33cfc59343bfc401600 100644 (file)
@@ -902,7 +902,7 @@ namespace mu
     std::size_t iEnd(0), iSkip(0);\r
 \r
     // parser over escaped '\"' end replace them with '"'\r
-    for(iEnd=(int)strBuf.find( _T("\"") ); iEnd!=0 && iEnd!=string_type::npos; iEnd=(int)strBuf.find( _T("\""), iEnd))\r
+    for(iEnd=(int)strBuf.find( _T('\"') ); iEnd!=0 && iEnd!=string_type::npos; iEnd=(int)strBuf.find( _T('\"'), iEnd))\r
     {\r
       if (strBuf[iEnd-1]!='\\') break;\r
       strBuf.replace(iEnd-1, 2, _T("\"") );\r

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.