From 8de26838445569bcaf49da507578509a4a083129 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Sun, 30 Sep 2012 08:26:35 +0200 Subject: [PATCH] - more workarounds --- wxWidgets-format.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/wxWidgets-format.patch b/wxWidgets-format.patch index 7f91284..73f3b29 100644 --- a/wxWidgets-format.patch +++ b/wxWidgets-format.patch @@ -65,3 +65,23 @@ return false; } +--- wxWidgets-2.8.12/src/common/filename.cpp.orig 2011-03-22 12:59:41.000000000 +0100 ++++ wxWidgets-2.8.12/src/common/filename.cpp 2012-09-30 08:26:13.781803673 +0200 +@@ -859,7 +859,7 @@ + + if ( path.empty() ) + { +- wxLogSysError(_("Failed to create a temporary file name")); ++ wxLogSysError("%s", _("Failed to create a temporary file name")); + } + else + { +@@ -894,7 +894,7 @@ + // fails, though of course it should be protected against + // possible infinite looping too. + +- wxLogError(_("Failed to open temporary file.")); ++ wxLogError("%s", _("Failed to open temporary file.")); + + path.clear(); + } -- 2.44.0