Mercurial > hg > octave-jordi
changeset 20949:165ba7463ca9
Fix indexing bugs in __print_parse_opts__.m (part of bug #44187)
* __print_parse_opts__.m: Fix several bugs where strings indexed with {a:b}
should be indexed with (a:b).
author | Daniel J Sebald <daniel.sebald@ieee.org> |
---|---|
date | Sat, 19 Dec 2015 13:58:12 -0500 |
parents | e456327188f9 |
children | 793886a00c3b |
files | scripts/plot/util/private/__print_parse_opts__.m |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/util/private/__print_parse_opts__.m +++ b/scripts/plot/util/private/__print_parse_opts__.m @@ -115,11 +115,11 @@ elseif (length (arg) > 2 && arg(1:2) == "-P") arg_st.printer = arg; elseif (strncmp (arg, "-EPSTOOL:", 9)) - arg_st.epstool_binary = arg{10:end}; + arg_st.epstool_binary = arg(10:end); elseif (strncmp (arg, "-FIG2DEV:", 9)) - arg_st.fig2dev_binary = arg{10:end}; + arg_st.fig2dev_binary = arg(10:end); elseif (strncmp (arg, "-PSTOEDIT:", 9)) - arg_st.pstoedit_binary = arg{10:end}; + arg_st.pstoedit_binary = arg(10:end); elseif (strncmpi (arg, "-textalphabits=", 15)) n = find (arg == "="); if (! isempty (n) && n == numel (arg) - 1 && any (arg(end) == "124"))