Mercurial > hg > octave-terminal
changeset 13252:e0ef7a3f35d9
Fix bug introduced by 105c72254967.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Thu, 29 Sep 2011 17:04:00 -0400 |
parents | f6bbdea030b2 |
children | e749d0b568c8 |
files | scripts/plot/__gnuplot_drawnow__.m scripts/plot/private/__patch__.m |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/__gnuplot_drawnow__.m +++ b/scripts/plot/__gnuplot_drawnow__.m @@ -149,7 +149,7 @@ ## Generate gnuplot title string for plot windows. if (output_to_screen (term) && ~strcmp (term, "dumb")) fig.numbertitle = get (h, "numbertitle"); - fig.name = strrep ("\"", "\\\"", get (h, "name")); + fig.name = strrep (get (h, "name"), "\"", "\\\""); if (strcmpi (get (h, "numbertitle"), "on")) title_str = sprintf ("Figure %d", h); else