]> git.mxchange.org Git - flightgear.git/blobdiff - src/GUI/gui.cxx
Sync with latest JSBSim CVS
[flightgear.git] / src / GUI / gui.cxx
index 7c62c3f562ac3f24bcd8428a36314a76fe620f3d..74078a6e2bee1b6c988878ca5a7101e3ba59bcbf 100644 (file)
@@ -167,7 +167,7 @@ void guiErrorMessage (const char *txt, const sg_throwable &throwable)
     string msg = txt;
     msg += '\n';
     msg += throwable.getFormattedMessage();
-    if (throwable.getOrigin() != "") {
+    if (throwable.getOrigin() != (string)"") {
       msg += "\n (reported by ";
       msg += throwable.getOrigin();
       msg += ')';