[packages/wxWidgets] - unicode compliance

qboosh qboosh at pld-linux.org
Mon Oct 1 19:50:20 CEST 2012


commit 3762fb0b95ebcfd0696b71791b7ffce2f1030039
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Oct 1 19:51:38 2012 +0200

    - unicode compliance

 wxWidgets-format.patch | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/wxWidgets-format.patch b/wxWidgets-format.patch
index d330775..fcdeb0a 100644
--- a/wxWidgets-format.patch
+++ b/wxWidgets-format.patch
@@ -13,7 +13,7 @@
 -                   lib.c_str(), progName.c_str(), prog.c_str());
 -
 -        wxLogFatalError(msg.c_str());
-+        wxLogFatalError("Mismatch between the program and library build versions detected.\nThe library used %s,\nand %s used %s.", WX_BUILD_OPTIONS_SIGNATURE, optionsSignature, componentName);
++        wxLogFatalError(wxT("Mismatch between the program and library build versions detected.\nThe library used %s,\nand %s used %s."), WX_BUILD_OPTIONS_SIGNATURE, optionsSignature, componentName);
  
          // normally wxLogFatalError doesn't return
          return false;
@@ -751,7 +751,7 @@
      if ( encoding == wxFONTENCODING_SYSTEM )
      {
 -        wxLogFatalError(_("can't load any font, aborting"));
-+        wxLogFatalError("%s", _("can't load any font, aborting"));
++        wxLogFatalError(wxT("%s"), _("can't load any font, aborting"));
  
          // wxLogFatalError doesn't return
      }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/wxWidgets.git/commitdiff/3762fb0b95ebcfd0696b71791b7ffce2f1030039



More information about the pld-cvs-commit mailing list