Mercurial > hg > octave-lojdl
changeset 16488:d4ce14c19c2c
Fix print to work with filenames which begin with '~' (bug #38694).
* scripts/plot/private/__print_parse_opts__.m: Call tilde_expand()
on filename input.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 10 Apr 2013 16:41:06 -0700 |
parents | 6a18d8b0f982 |
children | 36dba9be680b |
files | scripts/plot/private/__print_parse_opts__.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/private/__print_parse_opts__.m +++ b/scripts/plot/private/__print_parse_opts__.m @@ -159,7 +159,7 @@ elseif (length (arg) >= 1 && arg(1) == "-") error ("print: unknown option '%s'", arg); elseif (length (arg) > 0) - arg_st.name = arg; + arg_st.name = tilde_expand (arg); endif elseif (isfigure (arg)) arg_st.figure = arg;