]> git.saurik.com Git - wxWidgets.git/commitdiff
fix bug when warning string contains percent signs
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Mon, 16 Mar 2009 17:53:07 +0000 (17:53 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Mon, 16 Mar 2009 17:53:07 +0000 (17:53 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

utils/ifacecheck/src/ifacecheck.cpp

index 19a0971e9f75c9143c503645775de2167a0b71d9..1ca155fc565b2b6f77978d6afc2a1b0dd452a714 100644 (file)
@@ -392,7 +392,7 @@ int IfaceCheckApp::CompareClasses(const wxClass* iface, const wxClass* api)
                     for (unsigned int j=0; j<overloads.GetCount(); j++)
                         warning += "\n\treal header: " + overloads[j]->GetAsString(true, true, true, true);
 
-                    wxLogWarning(warning);
+                    wxLogWarning("%s", warning);
                     count++;
 
                     if (overloads.GetCount()>1)