# HG changeset patch # User Rik # Date 1333690168 25200 # Node ID 93cb513ed5fccc48f975f947844b75a663b1cb2e # Parent ecd4b048f98ca571a6340dce0a076d0528594138 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. diff -r ecd4b048f98c -r 93cb513ed5fc scripts/plot/private/__print_parse_opts__.m --- 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))