summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/src/icq_menu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/IcqOscarJ/src/icq_menu.cpp')
-rw-r--r--protocols/IcqOscarJ/src/icq_menu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/IcqOscarJ/src/icq_menu.cpp b/protocols/IcqOscarJ/src/icq_menu.cpp
index afe7cfedfb..b9c66d361a 100644
--- a/protocols/IcqOscarJ/src/icq_menu.cpp
+++ b/protocols/IcqOscarJ/src/icq_menu.cpp
@@ -177,7 +177,7 @@ INT_PTR CIcqProto::OpenWebProfile(WPARAM hContact, LPARAM)
{
DWORD dwUin = getContactUin(hContact);
char url[256];
- mir_snprintf(url, SIZEOF(url), "http://www.icq.com/people/%d",dwUin);
+ mir_snprintf(url, _countof(url), "http://www.icq.com/people/%d",dwUin);
return CallService(MS_UTILS_OPENURL, OUF_NEWWINDOW, (LPARAM)url);
}