changeset 6500:3ea308b4b37e

[project @ 2007-04-05 19:14:03 by jwe]
author jwe
date Thu, 05 Apr 2007 19:14:03 +0000
parents 7e9c1e9ff36d
children 68f3125f6e27
files scripts/ChangeLog scripts/pkg/pkg.m
diffstat 2 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Thu Apr 05 18:53:03 2007 +0000
+++ b/scripts/ChangeLog	Thu Apr 05 19:14:03 2007 +0000
@@ -6,7 +6,7 @@
 	sparse/spstats.m, sparse/treeplot.m: Style fixes.
 
 	* pkg/pkg.m: Use "strcat (...)" instead of "[...]".
-	Use stricmp instead of strcmp+tolower.
+	Use strcmpi instead of strcmp+tolower.
 	Style fixes.
 
 	* testfun/speed.m: Use "strcat (...)" instead of "[...]".
--- a/scripts/pkg/pkg.m	Thu Apr 05 18:53:03 2007 +0000
+++ b/scripts/pkg/pkg.m	Thu Apr 05 19:14:03 2007 +0000
@@ -251,10 +251,10 @@
 if (isfield (desc{1}, "autoload"))
   a = desc{1}.autoload;
   if ((isnumeric (a) && a > 0)
-      || (ischar (a) && (stricmp (a, "true")
-			 || stricmp (a, "on")
-			 || stricmp (a, "yes")
-			 || stricmp (a, "1"))))
+      || (ischar (a) && (strcmpi (a, "true")
+			 || strcmpi (a, "on")
+			 || strcmpi (a, "yes")
+			 || strcmpi (a, "1"))))
     auto = true;
   endif
 endif