summaryrefslogtreecommitdiff
path: root/plugins/CmdLine/MimCmd/src/commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CmdLine/MimCmd/src/commands.cpp')
-rw-r--r--plugins/CmdLine/MimCmd/src/commands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CmdLine/MimCmd/src/commands.cpp b/plugins/CmdLine/MimCmd/src/commands.cpp
index 5154c0012b..2cbdfe7430 100644
--- a/plugins/CmdLine/MimCmd/src/commands.cpp
+++ b/plugins/CmdLine/MimCmd/src/commands.cpp
@@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
inline char *STRNCPY(char *output, const char *input, size_t size)
{
- char *res = mir_strncpy(output, input, size);
+ char *res = strncpy(output, input, size);
output[size - 1] = 0;
return res;