# HG changeset patch # User Mike Becker # Date 1320606775 -3600 # Node ID 3963e8800a1268be93d938c709e2d4be4d0b2d39 # Parent 778388400f7b0e87b9465261b15bd8305a965ede replaced stricmp with strcasecmp to stay standard compliant diff -r 778388400f7b -r 3963e8800a12 cline.c --- 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);