summaryrefslogtreecommitdiff
path: root/plugins/MirFox
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirFox')
-rw-r--r--plugins/MirFox/src/MirfoxMiranda.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirFox/src/MirfoxMiranda.cpp b/plugins/MirFox/src/MirfoxMiranda.cpp
index 13a302996f..0c031276a7 100644
--- a/plugins/MirFox/src/MirfoxMiranda.cpp
+++ b/plugins/MirFox/src/MirfoxMiranda.cpp
@@ -145,7 +145,7 @@ CMirfoxMiranda::initializeSharedMemoryData(MirfoxData& mirfoxData, SharedMemoryU
} else {
mirfoxData.processCsmId = result.processCsmId;
wchar_t prefix[7];
- wsprintf(prefix, L"MNG%d", result.processCsmId);
+ mir_sntprintf(prefix, SIZEOF(prefix), L"MNG%d", result.processCsmId);
logger->set6CharsPrefix(prefix);
}