[packages/wxWidgets] - fixes

qboosh qboosh at pld-linux.org
Mon Oct 1 19:30:21 CEST 2012


commit 24157a4ce1cf681078bc1a70aa43a8eeb949f699
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Oct 1 19:31:39 2012 +0200

    - fixes

 wxWidgets-format.patch | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/wxWidgets-format.patch b/wxWidgets-format.patch
index 7c12d8b..2b26685 100644
--- a/wxWidgets-format.patch
+++ b/wxWidgets-format.patch
@@ -49,14 +49,14 @@
      {
          if (flagVerbose)
 -            wxPrintf(wxT("processing ") + parFiles[i] +  wxT("...\n"));
-+            wxPrintf("processing %s...\n", parFiles[i]);
++            wxPrintf("processing %s...\n", parFiles[i].c_str());
  
          wxXmlDocument doc;
  
          if (!doc.Load(parFiles[i]))
          {
 -            wxLogError(wxT("Error parsing file ") + parFiles[i]);
-+            wxLogError("Error parsing file %s", parFiles[i]);
++            wxLogError("Error parsing file %s", parFiles[i].c_str());
              retCode = 1;
              continue;
          }
@@ -74,7 +74,7 @@
  
      if (flagVerbose)
 -        wxPrintf(wxT("compressing ") + parOutput +  wxT("...\n"));
-+        wxPrintf("compressing %s...\n", parOutput);
++        wxPrintf("compressing %s...\n", parOutput.c_str());
  
      wxString cwd = wxGetCwd();
      wxSetWorkingDirectory(parOutputPath);
@@ -83,7 +83,7 @@
  
      if (flagVerbose)
 -        wxPrintf(wxT("creating C++ source file ") + parOutput +  wxT("...\n"));
-+        wxPrintf("creating C++ source file %s...\n", parOutput);
++        wxPrintf("creating C++ source file %s...\n", parOutput.c_str());
  
      file.Write(wxT("")
  wxT("//\n")
@@ -92,7 +92,7 @@
  
      if (flagVerbose)
 -        wxPrintf(wxT("creating Python source file ") + parOutput +  wxT("...\n"));
-+        wxPrintf("creating Python source file %s...\n", parOutput);
++        wxPrintf("creating Python source file %s...\n", parOutput.c_str());
  
      file.Write(
         wxT("#\n")
@@ -101,13 +101,13 @@
      {
          if (flagVerbose)
 -            wxPrintf(wxT("processing ") + parFiles[i] +  wxT("...\n"));
-+            wxPrintf("processing %s...", parFiles[i]);
++            wxPrintf("processing %s...", parFiles[i].c_str());
  
          wxXmlDocument doc;
          if (!doc.Load(parFiles[i]))
          {
 -            wxLogError(wxT("Error parsing file ") + parFiles[i]);
-+            wxLogError("Error parsing file %s", parFiles[i]);
++            wxLogError("Error parsing file %s", parFiles[i].c_str());
              retCode = 1;
              continue;
          }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/wxWidgets.git/commitdiff/24157a4ce1cf681078bc1a70aa43a8eeb949f699



More information about the pld-cvs-commit mailing list