summaryrefslogtreecommitdiff
path: root/plugins/CmdLine
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CmdLine')
-rw-r--r--plugins/CmdLine/MimCmd/src/commands.cpp2
-rw-r--r--plugins/CmdLine/src/utils.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CmdLine/MimCmd/src/commands.cpp b/plugins/CmdLine/MimCmd/src/commands.cpp
index 3983aebdd2..c644dd7cc6 100644
--- a/plugins/CmdLine/MimCmd/src/commands.cpp
+++ b/plugins/CmdLine/MimCmd/src/commands.cpp
@@ -48,7 +48,7 @@ int ConnectToMiranda()
{
char pluginPath[1024];
GetMirandaFolder(pluginPath, sizeof(pluginPath));
- strcat(pluginPath, "\\plugins\\cmdline.dll");
+ mir_strcat(pluginPath, "\\plugins\\cmdline.dll");
ListCommands = NULL;
diff --git a/plugins/CmdLine/src/utils.cpp b/plugins/CmdLine/src/utils.cpp
index 7dd7d8477b..b7dce2a279 100644
--- a/plugins/CmdLine/src/utils.cpp
+++ b/plugins/CmdLine/src/utils.cpp
@@ -57,7 +57,7 @@ int Log(char *format, ...)
va_end(vararg);
if (str[mir_strlen(str) - 1] != '\n')
{
- strcat(str, "\n");
+ mir_strcat(str, "\n");
}
fputs(str, fout);
fclose(fout);