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

index 114047d13bd6f282087fbccb00eadf6f09f836a1..fdf091c7be6550c5652c6341ba87521d9eedcda3 100644 (file)
        return;
    }
  
+--- wxWidgets-2.8.12/src/unix/displayx11.cpp.orig      2011-03-22 13:01:28.000000000 +0100
++++ wxWidgets-2.8.12/src/unix/displayx11.cpp   2012-09-30 15:55:56.814574597 +0200
+@@ -208,7 +208,7 @@
+     }
+     else //OOPS!
+     {
+-        wxLogSysError(_("Failed to enumerate video modes"));
++        wxLogSysError("%s", _("Failed to enumerate video modes"));
+     }
+     return Modes;
+@@ -231,7 +231,7 @@
+     if( !XF86VidModeGetAllModeLines((Display*)wxGetDisplay(), DefaultScreen((Display*)wxGetDisplay()), &nNumModes, &ppXModes) )
+     {
+-        wxLogSysError(_("Failed to change video mode"));
++        wxLogSysError("%s", _("Failed to change video mode"));
+         return false;
+     }
+--- wxWidgets-2.8.12/src/unix/dialup.cpp.orig  2011-03-22 13:01:28.000000000 +0100
++++ wxWidgets-2.8.12/src/unix/dialup.cpp       2012-09-30 15:56:29.271240585 +0200
+@@ -353,7 +353,7 @@
+         return false;
+     if(IsDialing())
+     {
+-        wxLogError(_("Already dialling ISP."));
++        wxLogError("%s", _("Already dialling ISP."));
+         return false;
+     }
+     wxString cmd;
This page took 0.028773 seconds and 4 git commands to generate.