changeset 22099:4c0f78b3c86f

print.m: Fix typo "1" (char) to 1 (integer) as argument to findall -depth (bug #48478). print.m: Fix typo "1" (char) to 1 (integer) as argument to findall -depth.
author Rik <rik@octave.org>
date Tue, 12 Jul 2016 09:53:34 -0700
parents d4b95a536e0b
children 67a5341edf15
files scripts/plot/util/print.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/util/print.m	Tue Jul 12 18:41:48 2016 +0200
+++ b/scripts/plot/util/print.m	Tue Jul 12 09:53:34 2016 -0700
@@ -322,7 +322,7 @@
     error ("print: no figure to print");
   endif
 
-  if (isempty (findall (opts.figure, "-depth", "1", "type", "axes")))
+  if (isempty (findall (opts.figure, "-depth", 1, "type", "axes")))
     error ("print: no axes object in figure to print");
   endif