[packages/wxWidgets] - more workarounds
qboosh
qboosh at pld-linux.org
Sun Sep 30 19:06:13 CEST 2012
commit 866b5c98e3eabd351171e69bc0e7030676882341
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Sep 30 19:07:28 2012 +0200
- more workarounds
wxWidgets-format.patch | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
---
diff --git a/wxWidgets-format.patch b/wxWidgets-format.patch
index 355e037..5eb5556 100644
--- a/wxWidgets-format.patch
+++ b/wxWidgets-format.patch
@@ -1301,3 +1301,23 @@
m_ok = false;
return false;
}
+--- wxWidgets-2.8.12/src/generic/logg.cpp.orig 2011-03-22 12:59:43.000000000 +0100
++++ wxWidgets-2.8.12/src/generic/logg.cpp 2012-09-30 19:07:07.851002168 +0200
+@@ -572,7 +572,7 @@
+ bOk = file.Close();
+
+ if ( !bOk ) {
+- wxLogError(_("Can't save log contents to file."));
++ wxLogError("%s", _("Can't save log contents to file."));
+ }
+ else {
+ wxLogStatus(this, _("Log saved to the file '%s'."), filename.c_str());
+@@ -1023,7 +1023,7 @@
+ ok = file.Close();
+
+ if ( !ok )
+- wxLogError(_("Can't save log contents to file."));
++ wxLogError("%s", _("Can't save log contents to file."));
+ #endif // wxUSE_FILEDLG
+ }
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/wxWidgets.git/commitdiff/866b5c98e3eabd351171e69bc0e7030676882341
More information about the pld-cvs-commit
mailing list