summaryrefslogtreecommitdiffstats
path: root/mandriva/2010.2/applications/krozat/krozat-printf.patch
diff options
context:
space:
mode:
Diffstat (limited to 'mandriva/2010.2/applications/krozat/krozat-printf.patch')
-rw-r--r--mandriva/2010.2/applications/krozat/krozat-printf.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/mandriva/2010.2/applications/krozat/krozat-printf.patch b/mandriva/2010.2/applications/krozat/krozat-printf.patch
new file mode 100644
index 000000000..0c43aef48
--- /dev/null
+++ b/mandriva/2010.2/applications/krozat/krozat-printf.patch
@@ -0,0 +1,12 @@
+--- krozat/krozat.cpp.orig 2009-11-17 13:40:31.000000000 +0000
++++ krozat/krozat.cpp 2009-11-17 13:50:20.000000000 +0000
+@@ -849,7 +849,8 @@
+
+ if (!mImage.load(fpath))
+ {
+- printf(i18n("Failed to load image \"%1\"\n").arg(fpath).local8Bit());
++ /***Adding %s seems to fix this - I hope. tmw***/
++ printf("%s", i18n("Failed to load image \"%1\"\n").arg(fpath).local8Bit());
+ mFileList.remove(fname);
+ if (!mFileList.isEmpty())
+ loadNextImage();