comparison scripts/plot/uigetfile.m @ 17408: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 3f0ed69d21c6
children
comparison
equal deleted inserted replaced
17407:a5de727e3795 17408:266fafd1ffc1
172 if (ismatrix (val) && length (val) == 2) 172 if (ismatrix (val) && length (val) == 2)
173 outargs{4} = val; 173 outargs{4} = val;
174 else 174 else
175 error ("uigetfile: expecting 2-element vector for position argument"); 175 error ("uigetfile: expecting 2-element vector for position argument");
176 endif 176 endif
177 elseif (strcmpi (prop, "multiselect", 11)) 177 elseif (strcmpi (prop, "multiselect"))
178 if (ischar (val)) 178 if (ischar (val))
179 outargs{5} = tolower (val); 179 outargs{5} = tolower (val);
180 else 180 else
181 error ("uigetfile: expecting string argument (on/off) for multiselect"); 181 error ("uigetfile: expecting string argument (on/off) for multiselect");
182 endif 182 endif