diff options
Diffstat (limited to 'plugins/BuddyExpectator/src/options.cpp')
-rw-r--r-- | plugins/BuddyExpectator/src/options.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/BuddyExpectator/src/options.cpp b/plugins/BuddyExpectator/src/options.cpp index b0be57b26e..c2bdeb591c 100644 --- a/plugins/BuddyExpectator/src/options.cpp +++ b/plugins/BuddyExpectator/src/options.cpp @@ -327,7 +327,7 @@ static INT_PTR CALLBACK PopupOptionsFrameProc(HWND hwndDlg, UINT uMsg, WPARAM wP ppd.lchIcon = hIcon;
wcsncpy(ppd.lptzContactName, TranslateT("Contact name"), MAX_CONTACTNAME);
wchar_t szPreviewText[250];
- mir_sntprintf(szPreviewText, TranslateT("has returned after being absent since %d days"), rand() % 30);
+ mir_snwprintf(szPreviewText, TranslateT("has returned after being absent since %d days"), rand() % 30);
wcsncpy(ppd.lptzText, szPreviewText, MAX_SECONDLINE);
// Get current popups colors options
|