]> git.pld-linux.org Git - packages/wxWidgets.git/commitdiff
- fixes
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 1 Oct 2012 17:31:39 +0000 (19:31 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Mon, 1 Oct 2012 17:31:39 +0000 (19:31 +0200)
wxWidgets-format.patch

index 7c12d8b0ed16b3a19db0c78e6f7b1d28412f56d5..2b26685715623058b3844cf5c8356ae21ac4fbee 100644 (file)
      {
          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")
      {
          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;
          }
This page took 0.167656 seconds and 4 git commands to generate.