aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/fox16/files
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/fox16/files')
-rw-r--r--x11-toolkits/fox16/files/patch-src_FXString.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-toolkits/fox16/files/patch-src_FXString.cpp b/x11-toolkits/fox16/files/patch-src_FXString.cpp
new file mode 100644
index 000000000000..81460082468c
--- /dev/null
+++ b/x11-toolkits/fox16/files/patch-src_FXString.cpp
@@ -0,0 +1,11 @@
+--- src/FXString.cpp.orig 2016-11-18 18:04:41 UTC
++++ src/FXString.cpp
+@@ -2365,7 +2365,7 @@ FXString& FXString::vformat(const FXchar
+ #else
+ va_list ag;
+ x: va_copy(ag,args);
+- result=vsnprintf(str,length()+1,fmt,a);
++ result=vsnprintf(str,length()+1,fmt,ag);
+ va_end(ag);
+ if(result<0){ length(FXMAX(64,length()*2)); goto x; }
+ if(length()<result){ length(result); goto x; }