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

index 053e527c245ba62ecaf83cd8760e32fcc9989044..4483790e426465de1c755fe0a9d4e5e1c992fde6 100644 (file)
          return false;
      }
      return true;
+--- wxWidgets-2.8.12/src/html/chm.cpp.orig     2011-03-22 12:59:44.000000000 +0100
++++ wxWidgets-2.8.12/src/html/chm.cpp  2012-09-30 20:31:12.494230355 +0200
+@@ -798,7 +798,7 @@
+     if ( GetProtocol(left) != _T("file") )
+     {
+-        wxLogError(_("CHM handler currently supports only local files!"));
++        wxLogError("%s", _("CHM handler currently supports only local files!"));
+         return NULL;
+     }
+@@ -821,7 +821,7 @@
+     if ( (index=right.Index(_T("//"))) != wxNOT_FOUND )
+     {
+         right=wxString(right.Mid(index+1));
+-        wxLogWarning(_("Link contained '//', converted to absolute link."));
++        wxLogWarning("%s", _("Link contained '//', converted to absolute link."));
+     }
+     wxFileName leftFilename = wxFileSystem::URLToFileName(left);
This page took 0.032111 seconds and 4 git commands to generate.