diff options
Diffstat (limited to 'plugins/QuickReplies/src/options.cpp')
-rw-r--r-- | plugins/QuickReplies/src/options.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/QuickReplies/src/options.cpp b/plugins/QuickReplies/src/options.cpp index b622789864..862247e955 100644 --- a/plugins/QuickReplies/src/options.cpp +++ b/plugins/QuickReplies/src/options.cpp @@ -139,7 +139,7 @@ INT_PTR CALLBACK DlgProcOptionsPage(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPAR int pos = -1, prev = 0;
while ((pos = replies.Find(_T("\r\n"), prev)) != -1)
{
- mir_snprintf(key, 64, "Reply_%x_%x", iNumber, count++);
+ mir_snprintf(key, SIZEOF(key), "Reply_%x_%x", iNumber, count++);
db_set_ws(NULL, MODULE, key, replies.Mid(prev, pos - prev).GetBuffer());
prev = pos + 2;
}
|