]> git.pld-linux.org Git - packages/wxWidgets.git/commitdiff
- more workarounds
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 30 Sep 2012 17:07:28 +0000 (19:07 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 30 Sep 2012 17:07:28 +0000 (19:07 +0200)
wxWidgets-format.patch

index 355e037aa4ae23592b15efe405861fed86fcebaa..5eb55564bdfa1bb7a5ecb4516a5d05ea82421ba3 100644 (file)
              m_ok = false;
              return false;
          }
+--- wxWidgets-2.8.12/src/generic/logg.cpp.orig 2011-03-22 12:59:43.000000000 +0100
++++ wxWidgets-2.8.12/src/generic/logg.cpp      2012-09-30 19:07:07.851002168 +0200
+@@ -572,7 +572,7 @@
+         bOk = file.Close();
+     if ( !bOk ) {
+-        wxLogError(_("Can't save log contents to file."));
++        wxLogError("%s", _("Can't save log contents to file."));
+     }
+     else {
+         wxLogStatus(this, _("Log saved to the file '%s'."), filename.c_str());
+@@ -1023,7 +1023,7 @@
+         ok = file.Close();
+     if ( !ok )
+-        wxLogError(_("Can't save log contents to file."));
++        wxLogError("%s", _("Can't save log contents to file."));
+ #endif // wxUSE_FILEDLG
+ }
This page took 0.166631 seconds and 4 git commands to generate.