cline.c

changeset 26
853a1181884b
parent 25
802c5382f499
parent 24
3963e8800a12
child 27
95a958e3de88
--- a/cline.c	Thu Dec 01 17:04:30 2011 +0100
+++ b/cline.c	Thu Dec 01 17:06:27 2011 +0100
@@ -120,13 +120,13 @@
       if (t >= argc) {
         return exit_with_help(settings, 1);
       }
-      if (stricmp(argv[t], "ignore") == 0) {
+      if (strcasecmp(argv[t], "ignore") == 0) {
         settings->bfileHeuristics->level = BFILE_IGNORE;
-      } else if (stricmp(argv[t], "low") == 0) {
+      } else if (strcasecmp(argv[t], "low") == 0) {
         settings->bfileHeuristics->level = BFILE_LOW_ACCURACY;
-      } else if (stricmp(argv[t], "medium") == 0) {
+      } else if (strcasecmp(argv[t], "medium") == 0) {
         settings->bfileHeuristics->level = BFILE_MEDIUM_ACCURACY;
-      } else if (stricmp(argv[t], "high") == 0) {
+      } else if (strcasecmp(argv[t], "high") == 0) {
         settings->bfileHeuristics->level = BFILE_HIGH_ACCURACY;
       } else {
         return exit_with_help(settings, 1);

mercurial