diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-07-25 20:15:05 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-07-25 20:15:05 +0000 |
commit | 9d32b9cd791fb5f51dad17567152c70a8511a500 (patch) | |
tree | fd7aa3250ed409e720f26c341c0a5d736ed8083c /plugins/FlashAvatars/src/cflash.cpp | |
parent | 125a25c86eed41352d45eb8fb6f994f65700c3ec (diff) |
replace sprintf to mir_snprintf (part 6)
git-svn-id: http://svn.miranda-ng.org/main/trunk@5485 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FlashAvatars/src/cflash.cpp')
-rw-r--r-- | plugins/FlashAvatars/src/cflash.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/FlashAvatars/src/cflash.cpp b/plugins/FlashAvatars/src/cflash.cpp index 25dcfb5856..87961b5c0b 100644 --- a/plugins/FlashAvatars/src/cflash.cpp +++ b/plugins/FlashAvatars/src/cflash.cpp @@ -182,7 +182,7 @@ static void __cdecl loadFlash_Thread(void *p) { }
CreateDirectory(path, NULL); // create directory if it doesn't exist
- _sntprintf(name, MAX_PATH, _T("%s\\%s.swf"), path, th.toBase32(tth));
+ mir_sntprintf(name, MAX_PATH, _T("%s\\%s.swf"), path, th.toBase32(tth));
// download remote file if it doesn't exist
if (GetFileAttributes(name) == 0xFFFFFFFF) {
@@ -446,7 +446,7 @@ static INT_PTR setBkColor(WPARAM wParam, LPARAM lParam) IShockwaveFlash* flash = item->pFlash;
char buf[10];
- _snprintf(buf, sizeof(buf), "%02X%02X%02X", LOBYTE(LOWORD(clr)), HIBYTE(LOWORD(clr)), LOBYTE(HIWORD(clr)));
+ mir_snprintf(buf, sizeof(buf), "%02X%02X%02X", LOBYTE(LOWORD(clr)), HIBYTE(LOWORD(clr)), LOBYTE(HIWORD(clr)));
flash->put_BGColor(_bstr_t(buf));
}
return 0;
|