Maybe strcasecmp?
authorDmitry Chapyshev <dmitry@reactos.org>
Mon, 22 Aug 2016 13:22:32 +0000 (13:22 +0000)
committerDmitry Chapyshev <dmitry@reactos.org>
Mon, 22 Aug 2016 13:22:32 +0000 (13:22 +0000)
svn path=/trunk/; revision=72428

reactos/sdk/tools/utf16le/utf16le.cpp

index 9b73617..bc06d7c 100644 (file)
@@ -279,7 +279,7 @@ int main(int argc, char* argv[])
 
     utf_converter::bom_types bom_type = utf_converter::bom;
 
-    if (argc == 4 && stricmp(argv[3], "nobom") == 0)
+    if (argc == 4 && strcasecmp(argv[3], "nobom") == 0)
     {
         bom_type = utf_converter::nobom;
     }