diff options
Diffstat (limited to 'plugins/CmdLine/MimCmd')
-rw-r--r-- | plugins/CmdLine/MimCmd/src/MimCmd.cpp | 2 | ||||
-rw-r--r-- | plugins/CmdLine/MimCmd/src/commands.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/CmdLine/MimCmd/src/MimCmd.cpp b/plugins/CmdLine/MimCmd/src/MimCmd.cpp index 90a66d5c36..688205e6f8 100644 --- a/plugins/CmdLine/MimCmd/src/MimCmd.cpp +++ b/plugins/CmdLine/MimCmd/src/MimCmd.cpp @@ -77,7 +77,7 @@ void ShowVersion() int main(int argc, char *argv[])
{
int error = 0;
- if ((argc == 2) && (strcmp(argv[1], "-v") == 0))
+ if ((argc == 2) && (mir_strcmp(argv[1], "-v") == 0))
{
ShowVersion();
diff --git a/plugins/CmdLine/MimCmd/src/commands.cpp b/plugins/CmdLine/MimCmd/src/commands.cpp index 6dddcffc43..44033eef7c 100644 --- a/plugins/CmdLine/MimCmd/src/commands.cpp +++ b/plugins/CmdLine/MimCmd/src/commands.cpp @@ -96,14 +96,14 @@ PCommand GetCommand(char *command) for (i = 0; i < cKnownCommands; i++)
{
- if (strcmp(knownCommands[i].command, lower) == 0)
+ if (mir_strcmp(knownCommands[i].command, lower) == 0)
{
return &knownCommands[i];
}
}
//allow more parameters to trigger the help command - /h -h /? --help
- if ((strcmp(lower, "/h") == 0) || (strcmp(lower, "-h") == 0) || (strcmp(lower, "/?") == 0) || (strcmp(lower, "--help") == 0))
+ if ((mir_strcmp(lower, "/h") == 0) || (mir_strcmp(lower, "-h") == 0) || (mir_strcmp(lower, "/?") == 0) || (mir_strcmp(lower, "--help") == 0))
{
for (i = 0; i < cKnownCommands; i++)
{
|