[packages/wxWidgets] - two some possible issues

qboosh qboosh at pld-linux.org
Sun Sep 30 10:11:43 CEST 2012


commit 4715134766ed95372b7940f7cdd0b7aa5e7cd9e6
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Sep 30 10:12:57 2012 +0200

    - two some possible issues

 wxWidgets-format.patch | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
---
diff --git a/wxWidgets-format.patch b/wxWidgets-format.patch
index 451f90c..0bfbe42 100644
--- a/wxWidgets-format.patch
+++ b/wxWidgets-format.patch
@@ -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 @@
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/wxWidgets.git/commitdiff/4715134766ed95372b7940f7cdd0b7aa5e7cd9e6



More information about the pld-cvs-commit mailing list