summaryrefslogtreecommitdiff
path: root/plugins/Popup
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Popup')
-rw-r--r--plugins/Popup/src/skin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Popup/src/skin.cpp b/plugins/Popup/src/skin.cpp
index 865912ca29..9fffea5a7f 100644
--- a/plugins/Popup/src/skin.cpp
+++ b/plugins/Popup/src/skin.cpp
@@ -234,7 +234,7 @@ void PopupSkin::measure(HDC hdc, PopupWnd2 *wnd, int maxw, POPUPOPTIONS *options
for (int i=0; i < 32; ++i)
{
char buf[10];
- wsprintfA(buf, "opt%d", i);
+ mir_snprintf(buf, SIZEOF(buf), "opt%d", i);
wnd->getArgs()->add(buf, (m_flags&(1L<<i)) ? 1 : 0);
}