changeset 15215:ae6b7ee0a733

print.m: Correct typo preventing fontsize to be set (bug #37163) * print.m: Change variable name to from opt to opts.
author Rik <rik@octave.org>
date Wed, 22 Aug 2012 13:46:29 -0700
parents 336f42406671
children 9020dddc925a
files scripts/plot/print.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/print.m
+++ b/scripts/plot/print.m
@@ -401,7 +401,7 @@
         else
           fontsize = opts.fontsize;
         endif
-        if (! isempty (opts.scalefontsize) && ! opt.scalefontsize != 1)
+        if (! isempty (opts.scalefontsize) && ! opts.scalefontsize != 1)
           ## This is done to work around the bbox being whole numbers.
           fontsize = fontsize * opts.scalefontsize;
         endif