]> git.pld-linux.org Git - packages/wxWidgets.git/commitdiff
- two some possible issues
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 30 Sep 2012 08:12:57 +0000 (10:12 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 30 Sep 2012 08:12:57 +0000 (10:12 +0200)
wxWidgets-format.patch

index 451f90c561ff3f21126d3fc3cc85f9824e5942dc..0bfbe42d1b09aba6bad2eea90492f89165fd824d 100644 (file)
@@ -9,6 +9,30 @@
  
          // normally wxLogFatalError doesn't return
          return false;
+--- wxWidgets-2.8.12/src/common/fs_mem.cpp.orig        2011-03-22 12:59:41.000000000 +0100
++++ wxWidgets-2.8.12/src/common/fs_mem.cpp     2012-09-30 10:11:49.745004943 +0200
+@@ -174,9 +174,7 @@
+     if (m_Hash -> Get(filename) != NULL)
+     {
+-        wxString s;
+-        s.Printf(_("Memory VFS already contains file '%s'!"), filename.c_str());
+-        wxLogError(s);
++        wxLogError(_("Memory VFS already contains file '%s'!"), filename.c_str());
+         return false;
+     }
+     else
+@@ -226,9 +224,7 @@
+     if (m_Hash == NULL ||
+         m_Hash -> Get(filename) == NULL)
+     {
+-        wxString s;
+-        s.Printf(_("Trying to remove file '%s' from memory VFS, but it is not loaded!"), filename.c_str());
+-        wxLogError(s);
++        wxLogError(_("Trying to remove file '%s' from memory VFS, but it is not loaded!"), filename.c_str());
+     }
+     else
 --- wxWidgets-2.8.12/src/common/file.cpp.orig  2011-03-22 12:59:40.000000000 +0100
 +++ wxWidgets-2.8.12/src/common/file.cpp       2012-09-30 08:19:02.785145988 +0200
 @@ -513,7 +513,7 @@
This page took 0.0488 seconds and 4 git commands to generate.