summaryrefslogtreecommitdiff
path: root/plugins/LangMan/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/LangMan/src')
-rw-r--r--plugins/LangMan/src/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/LangMan/src/options.cpp b/plugins/LangMan/src/options.cpp
index 6511d979af..2420509699 100644
--- a/plugins/LangMan/src/options.cpp
+++ b/plugins/LangMan/src/options.cpp
@@ -27,7 +27,7 @@ static HANDLE hHookOptInit;
/************************* Utils **************************************/
#define BOX(str) BOX2("%s (err:%i)", str, GetLastError())
-#define BOX2(fmt, p1, p2) { char str[256]; wsprintfA(str, fmt, p1, p2); MessageBoxA(NULL, str, "dbg", 0); }
+#define BOX2(fmt, p1, p2) { char str[256]; mir_snprintf(str, SIZEOF(str), fmt, p1, p2); MessageBoxA(NULL, str, "dbg", 0); }
// ImageList_Destroy() the return value
// refresh on WM_THEMECHANGED