SHA256
1
0
forked from pool/gnuplot
gnuplot/gnuplot-4.6.0-fix-format-errors.dif

31 lines
1.0 KiB
Plaintext
Raw Normal View History

diff -U 3 -H -d -r -N -x .git -x .svn -- gnuplot-4.6.0/src/gplt_x11.c gnuplot-4.6.0.formaterrors/src/gplt_x11.c
--- gnuplot-4.6.0/src/gplt_x11.c 2011-12-28 23:00:37.000000000 +0100
+++ gnuplot-4.6.0.formaterrors/src/gplt_x11.c 2012-03-15 12:17:24.311767033 +0100
@@ -2897,22 +2897,22 @@
case PseudoColor:
fprintf(stderr, ERROR_NOTICE("PseudoColor"));
- fprintf(stderr, display_error_text_after);
+ fprintf(stderr, "%s", display_error_text_after);
break;
case GrayScale:
fprintf(stderr, ERROR_NOTICE("GrayScale"));
- fprintf(stderr, display_error_text_after);
+ fprintf(stderr, "%s", display_error_text_after);
break;
case StaticColor:
fprintf(stderr, ERROR_NOTICE("StaticColor"));
- fprintf(stderr, display_error_text_after);
+ fprintf(stderr, "%s", display_error_text_after);
break;
case StaticGray:
fprintf(stderr, ERROR_NOTICE("StaticGray"));
- fprintf(stderr, display_error_text_after);
+ fprintf(stderr, "%s", display_error_text_after);
break;
case DirectColor: