[Greater-commits] r300 - trunk/Administration

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Jun 29 12:44:02 CEST 2011


Author: aheinecke
Date: 2011-06-29 12:44:02 +0200 (Wed, 29 Jun 2011)
New Revision: 300

Modified:
   trunk/Administration/ImportDialog.cpp
Log:
Fix string formating so that it also compiles with msvc


Modified: trunk/Administration/ImportDialog.cpp
===================================================================
--- trunk/Administration/ImportDialog.cpp	2011-06-29 10:38:46 UTC (rev 299)
+++ trunk/Administration/ImportDialog.cpp	2011-06-29 10:44:02 UTC (rev 300)
@@ -494,9 +494,8 @@
     //Show error
     message = wxString(XMLString::transcode(e.getMessage()), wxConvUTF8);
 
-    message = message.Format(wxT("An SAX error occured during parsing of the XML file."
-                                 "\nImport was stopped.\nException message: %s\n"
-                                 "on Line:%d Column:%d"),
+    message = message.Format(wxT("An SAX error occured during parsing of the XML file.\
+\nImport was stopped.\nException message: %s\n on Line:%d Column:%d"),
                                  message.c_str(), (int)e.getLineNumber(), (int)e.getColumnNumber());
     ((MainWindow*) GetParent())->OnError(message);
 



More information about the Greater-commits mailing list