changeset 17347:1391dc953ae2

__patch__.m: Fix typo and close bug #34417. * scripts/plot/private/__patch__.m: Change 'agrs' to 'args'.
author Rik <rik@octave.org>
date Thu, 29 Aug 2013 16:48:37 -0700
parents 68ff3d60c48a
children d325a9906a3e
files scripts/plot/private/__patch__.m
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/private/__patch__.m	Thu Aug 29 16:46:03 2013 -0400
+++ b/scripts/plot/private/__patch__.m	Thu Aug 29 16:48:37 2013 -0700
@@ -29,6 +29,7 @@
 
 function [h, failed] = __patch__ (p, varargin)
 
+  keyboard
   h = NaN;
   failed = false;
 
@@ -148,7 +149,7 @@
             args{7} = "facecolor";
             args{8} = "interp";
             args{9} = "cdata";
-            agrs{10} = c;
+            args{10} = c;
           else
             error ("patch: color value not valid");
           endif