Sun, 06 Nov 2011 20:12:55 +0100
replaced stricmp with strcasecmp to stay standard compliant
cline.c | file | annotate | diff | comparison | revisions |
--- a/cline.c Fri Oct 21 15:09:26 2011 +0200 +++ b/cline.c Sun Nov 06 20:12:55 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);