Mercurial > hg > octave-nkf
diff scripts/plot/__gnuplot_drawnow__.m @ 17405:3f0ed69d21c6
Replace unnecessary instances of strncmp with strcmp.
* scripts/optimization/optimget.m, scripts/plot/__gnuplot_drawnow__.m,
scripts/plot/fill.m, scripts/plot/private/__go_draw_axes__.m,
scripts/plot/private/__pie__.m, scripts/plot/private/__print_parse_opts__.m,
scripts/plot/private/__quiver__.m, scripts/plot/private/__tight_eps_bbox__.m,
scripts/plot/stairs.m, scripts/plot/uigetfile.m, scripts/strings/strsplit.m,
scripts/strings/validatestring.m: Replace unnecessary instances of strncmp with
strcmp.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 10 Sep 2013 18:31:39 -0700 |
parents | 09543e9c8f40 |
children |
line wrap: on
line diff
--- a/scripts/plot/__gnuplot_drawnow__.m +++ b/scripts/plot/__gnuplot_drawnow__.m @@ -225,7 +225,7 @@ otherwise size_str = ""; endswitch - if ((strncmpi (term, "x11", 3) + if ((strcmp (term, "x11") && __gnuplot_has_feature__ ("x11_figure_position")) || (strcmpi (term, "windows") && __gnuplot_has_feature__ ("windows_figure_position")))