Commit 686cb8df authored by Dimitri van Heesch's avatar Dimitri van Heesch

Still some strcasecmp that should be stricmp's

parent 27224b65
...@@ -5266,17 +5266,17 @@ int main(int argc,char **argv) ...@@ -5266,17 +5266,17 @@ int main(int argc,char **argv)
err("Error: option -w is missing a configuration file name\n"); err("Error: option -w is missing a configuration file name\n");
exit(1); exit(1);
} }
if (strcasecmp(formatName,"rtf")==0) if (stricmp(formatName,"rtf")==0)
{ {
generateStyleSheetFile(OutputGenerator::RTF,argv[optind+1]); generateStyleSheetFile(OutputGenerator::RTF,argv[optind+1]);
exit(1); exit(1);
} }
else if (strcasecmp(formatName,"html")==0) else if (stricmp(formatName,"html")==0)
{ {
generateStyleSheetFile(OutputGenerator::Html,argv[optind+1]); generateStyleSheetFile(OutputGenerator::Html,argv[optind+1]);
exit(1); exit(1);
} }
else if (strcasecmp(formatName,"latex")==0) else if (stricmp(formatName,"latex")==0)
{ {
if (optind+2<argc) // use config file to get settings if (optind+2<argc) // use config file to get settings
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment