summaryrefslogtreecommitdiff
path: root/plugins/PasteIt/src
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-07-25 20:15:05 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-07-25 20:15:05 +0000
commit9d32b9cd791fb5f51dad17567152c70a8511a500 (patch)
treefd7aa3250ed409e720f26c341c0a5d736ed8083c /plugins/PasteIt/src
parent125a25c86eed41352d45eb8fb6f994f65700c3ec (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/PasteIt/src')
-rw-r--r--plugins/PasteIt/src/Options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/PasteIt/src/Options.cpp b/plugins/PasteIt/src/Options.cpp
index a5c4fb5359..41b3b14c07 100644
--- a/plugins/PasteIt/src/Options.cpp
+++ b/plugins/PasteIt/src/Options.cpp
@@ -726,7 +726,7 @@ void Options::InitCodepageCB(HWND hwndCB, unsigned int codepage)
if(selCpIdx == -1)
{
TCHAR buf[10];
- _stprintf_s(buf, 10, _T("%d"), codepage);
+ mir_sntprintf(buf, 10, _T("%d"), codepage);
ComboBox_SetText(hwndCB, buf);
}
else
@@ -750,7 +750,7 @@ void Options::SetCodepageCB(HWND hwndCB, unsigned int codepage)
if(selCpIdx == -1)
{
TCHAR buf[10];
- _stprintf_s(buf, 10, _T("%d"), codepage);
+ mir_sntprintf(buf, 10, _T("%d"), codepage);
ComboBox_SetText(hwndCB, buf);
}
else