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

30 lines
912 B
Diff
Raw Normal View History

--- src/gplt_x11.c
+++ src/gplt_x11.c 2012-03-15 11:17:24.000000000 +0000
@@ -2912,22 +2912,22 @@ exec_cmd(plot_struct *plot, char *comman
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: