diff options
Diffstat (limited to 'src/modules/utils')
-rw-r--r-- | src/modules/utils/bmpfilter.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/utils/bmpfilter.cpp b/src/modules/utils/bmpfilter.cpp index b97b2699b6..f2594ffc4c 100644 --- a/src/modules/utils/bmpfilter.cpp +++ b/src/modules/utils/bmpfilter.cpp @@ -144,37 +144,37 @@ static INT_PTR BmpFilterGetStrings(WPARAM wParam, LPARAM lParam) char *filter = (char*)lParam, *pfilter;
mir_strncpy(filter, Translate("All bitmaps"), bytesLeft); bytesLeft -= mir_strlen(filter);
- strncat(filter, " (*.bmp;*.jpg;*.gif;*.png)", bytesLeft);
+ mir_strncat(filter, " (*.bmp;*.jpg;*.gif;*.png)", bytesLeft);
pfilter = filter + mir_strlen(filter) + 1; bytesLeft = wParam - (pfilter - filter);
mir_strncpy(pfilter, "*.BMP;*.RLE;*.JPG;*.JPEG;*.GIF;*.PNG", bytesLeft);
pfilter += mir_strlen(pfilter) + 1; bytesLeft = wParam - (pfilter - filter);
mir_strncpy(pfilter, Translate("Windows bitmaps"), bytesLeft); bytesLeft -= mir_strlen(pfilter);
- strncat(pfilter, " (*.bmp;*.rle)", bytesLeft);
+ mir_strncat(pfilter, " (*.bmp;*.rle)", bytesLeft);
pfilter += mir_strlen(pfilter) + 1; bytesLeft = wParam - (pfilter - filter);
mir_strncpy(pfilter, "*.BMP;*.RLE", bytesLeft);
pfilter += mir_strlen(pfilter) + 1; bytesLeft = wParam - (pfilter - filter);
mir_strncpy(pfilter, Translate("JPEG bitmaps"), bytesLeft); bytesLeft -= mir_strlen(pfilter);
- strncat(pfilter, " (*.jpg;*.jpeg)", bytesLeft);
+ mir_strncat(pfilter, " (*.jpg;*.jpeg)", bytesLeft);
pfilter += mir_strlen(pfilter) + 1; bytesLeft = wParam - (pfilter - filter);
mir_strncpy(pfilter, "*.JPG;*.JPEG", bytesLeft);
pfilter += mir_strlen(pfilter) + 1; bytesLeft = wParam - (pfilter - filter);
mir_strncpy(pfilter, Translate("GIF bitmaps"), bytesLeft); bytesLeft -= mir_strlen(pfilter);
- strncat(pfilter, " (*.gif)", bytesLeft);
+ mir_strncat(pfilter, " (*.gif)", bytesLeft);
pfilter += mir_strlen(pfilter) + 1; bytesLeft = wParam - (pfilter - filter);
mir_strncpy(pfilter, "*.GIF", bytesLeft);
pfilter += mir_strlen(pfilter) + 1; bytesLeft = wParam - (pfilter - filter);
mir_strncpy(pfilter, Translate("PNG bitmaps"), bytesLeft); bytesLeft -= mir_strlen(pfilter);
- strncat(pfilter, " (*.png)", bytesLeft);
+ mir_strncat(pfilter, " (*.png)", bytesLeft);
pfilter += mir_strlen(pfilter) + 1; bytesLeft = wParam - (pfilter - filter);
mir_strncpy(pfilter, "*.PNG", bytesLeft);
pfilter += mir_strlen(pfilter) + 1; bytesLeft = wParam - (pfilter - filter);
mir_strncpy(pfilter, Translate("All files"), bytesLeft); bytesLeft -= mir_strlen(pfilter);
- strncat(pfilter, " (*)", bytesLeft);
+ mir_strncat(pfilter, " (*)", bytesLeft);
pfilter += mir_strlen(pfilter) + 1; bytesLeft = wParam - (pfilter - filter);
mir_strncpy(pfilter, "*", bytesLeft);
pfilter += mir_strlen(pfilter) + 1; bytesLeft = wParam - (pfilter - filter);
|