Mercurial > octave-nkf
diff scripts/plot/private/__print_parse_opts__.m @ 14530:93cb513ed5fc stable
Fix regression after 3.4.0 with '-r0' option to print (bug #36092).
* __print_parse_opts__.m: Don't convert numeric value (resolution) to string.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Thu, 05 Apr 2012 22:29:28 -0700 |
parents | 72c96de7a403 |
children | ad542fdd8c8f d174210ce1ec |
line wrap: on
line diff
--- a/scripts/plot/private/__print_parse_opts__.m Wed Mar 28 12:07:11 2012 -0400 +++ b/scripts/plot/private/__print_parse_opts__.m Thu Apr 05 22:29:28 2012 -0700 @@ -153,7 +153,7 @@ if (arg_st.ghostscript.resolution == 0) ## Do as Matlab does. - arg_st.ghostscript.resolution = num2str (get (0, "screenpixelsperinch")); + arg_st.ghostscript.resolution = get (0, "screenpixelsperinch"); endif if (isempty (arg_st.orientation))