diff options
Diffstat (limited to 'plugins/SendScreenshotPlus/src/mir_string.cpp')
-rw-r--r-- | plugins/SendScreenshotPlus/src/mir_string.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SendScreenshotPlus/src/mir_string.cpp b/plugins/SendScreenshotPlus/src/mir_string.cpp index f0c2414085..53d1b0763b 100644 --- a/plugins/SendScreenshotPlus/src/mir_string.cpp +++ b/plugins/SendScreenshotPlus/src/mir_string.cpp @@ -41,7 +41,7 @@ void mir_stradd(char* &pszDest, const char* pszSrc) size_t lenNew = lenDest + lenSrc + 1;
pszDest = (char *) mir_realloc(pszDest, sizeof(char)* lenNew);
- strcpy(pszDest + lenDest, pszSrc);
+ mir_strcpy(pszDest + lenDest, pszSrc);
pszDest[lenNew-1] = 0;
}
}
|