changeset 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 ecd4b048f98c
children ad542fdd8c8f 6eabd81604b5
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
@@ -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))