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

index fdf091c7be6550c5652c6341ba87521d9eedcda3..4abb9964e20e61f2e3b1bc10b255a555b6392a6b 100644 (file)
          return false;
      }
      wxString cmd;
+--- wxWidgets-2.8.12/src/gtk/textctrl.cpp.orig 2011-03-22 13:01:32.000000000 +0100
++++ wxWidgets-2.8.12/src/gtk/textctrl.cpp      2012-09-30 16:21:18.987876200 +0200
+@@ -1015,7 +1015,7 @@
+     {
+         // see comment in WriteText() as to why we must warn the user about
+         // this
+-        wxLogWarning(_("Failed to set text in the text control."));
++        wxLogWarning("%s", _("Failed to set text in the text control."));
+         return;
+     }
+@@ -1072,7 +1072,7 @@
+         // we must log an error here as losing the text like this can be a
+         // serious problem (e.g. imagine the document edited by user being
+         // empty instead of containing the correct text)
+-        wxLogWarning(_("Failed to insert text in the control."));
++        wxLogWarning("%s", _("Failed to insert text in the control."));
+         return;
+     }
This page took 0.09613 seconds and 4 git commands to generate.