changeset 17427:266fafd1ffc1

fix 2 strcmp<->strncmp issues from 3f0ed69d21c6 * __go_draw_axes__.m: replaced strncmp with strcmp * plot/uigetfile.m: removed length specifier from strcmpi
author Andreas Weber <andreas.weber@hs-offenburg.de>
date Wed, 11 Sep 2013 13:31:45 +0200
parents a5de727e3795
children 3baf8e7ec3dd
files scripts/plot/private/__go_draw_axes__.m scripts/plot/uigetfile.m
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/private/__go_draw_axes__.m
+++ b/scripts/plot/private/__go_draw_axes__.m
@@ -643,7 +643,7 @@
 
          if (! isnan (xcol) && ! isnan (ycol))
            ## Is the patch closed or not
-           if (strncmp (obj.facecolor, "none"))
+           if (strcmp (obj.facecolor, "none"))
              hidden_removal = false;
            else
 
--- a/scripts/plot/uigetfile.m
+++ b/scripts/plot/uigetfile.m
@@ -174,7 +174,7 @@
         else
           error ("uigetfile: expecting 2-element vector for position argument");
         endif
-      elseif (strcmpi (prop, "multiselect", 11))
+      elseif (strcmpi (prop, "multiselect"))
         if (ischar (val))
           outargs{5} = tolower (val);
         else