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

index 98b05ff5e81b2ac3df1414507851c08678db708c..cca4c978828f23051ee59348e0fb4323df21c1a0 100644 (file)
      return false;
    }
    m_origHostname = name;
+--- wxWidgets-2.8.12/src/common/socket.cpp.orig        2011-03-22 12:59:42.000000000 +0100
++++ wxWidgets-2.8.12/src/common/socket.cpp     2012-09-30 10:58:04.798280436 +0200
+@@ -409,7 +409,7 @@
+   if (sig != 0xfeeddead)
+   {
+-    wxLogWarning(_("wxSocket: invalid signature in ReadMsg."));
++    wxLogWarning("%s", _("wxSocket: invalid signature in ReadMsg."));
+     goto exit;
+   }
+@@ -463,7 +463,7 @@
+   if (sig != 0xdeadfeed)
+   {
+-    wxLogWarning(_("wxSocket: invalid signature in ReadMsg."));
++    wxLogWarning("%s", _("wxSocket: invalid signature in ReadMsg."));
+     goto exit;
+   }
+@@ -990,7 +990,7 @@
+     case GSOCK_CONNECTION: flag = GSOCK_CONNECTION_FLAG; break;
+     case GSOCK_LOST:       flag = GSOCK_LOST_FLAG; break;
+     default:
+-      wxLogWarning(_("wxSocket: unknown event!."));
++      wxLogWarning("%s", _("wxSocket: unknown event!."));
+       return;
+   }
This page took 0.152664 seconds and 4 git commands to generate.