summaryrefslogtreecommitdiff
path: root/plugins/Clist_blind/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_blind/src')
-rw-r--r--plugins/Clist_blind/src/init.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Clist_blind/src/init.cpp b/plugins/Clist_blind/src/init.cpp
index dd5a2c6cbe..369a665175 100644
--- a/plugins/Clist_blind/src/init.cpp
+++ b/plugins/Clist_blind/src/init.cpp
@@ -494,7 +494,7 @@ TCHAR *GetProtoName(struct ClcContact *item)
{
#ifdef UNICODE
CallProtoService(item->proto, PS_GETNAME, sizeof(description),(LPARAM) description);
- mir_sntprintf(proto_name, MAX_REGS(proto_name), L"%S", description);
+ mir_sntprintf(proto_name, SIZEOF(proto_name), L"%S", description);
#else
CallProtoService(item->proto, PS_GETNAME, sizeof(proto_name),(LPARAM) proto_name);
#endif
@@ -578,9 +578,9 @@ void RebuildEntireListInternal(HWND hwnd, ClcData *tmp_dat, BOOL call_orig)
if (szCounts[0] != '\0')
{
#ifdef UNICODE
- mir_sntprintf(count, MAX_REGS(count), L"%S ", szCounts);
+ mir_sntprintf(count, SIZEOF(count), L"%S ", szCounts);
#else
- mir_sntprintf(count, MAX_REGS(count), "%s ", szCounts);
+ mir_sntprintf(count, SIZEOF(count), "%s ", szCounts);
#endif
}
else