From d5ee0fc23bdc1a194774591eb4ce63b8bebb8d6e Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 23 May 2015 17:01:01 +0000 Subject: replace strncat to mir_strncat git-svn-id: http://svn.miranda-ng.org/main/trunk@13780 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/utils/bmpfilter.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/modules') 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); -- cgit v1.2.3