summaryrefslogtreecommitdiff
path: root/plugins/MirOTR/src/svcs_menu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirOTR/src/svcs_menu.cpp')
-rw-r--r--plugins/MirOTR/src/svcs_menu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirOTR/src/svcs_menu.cpp b/plugins/MirOTR/src/svcs_menu.cpp
index d5837ae2bc..e3e33c5adb 100644
--- a/plugins/MirOTR/src/svcs_menu.cpp
+++ b/plugins/MirOTR/src/svcs_menu.cpp
@@ -22,7 +22,7 @@ int StartOTR(MCONTACT hContact) {
TCHAR* nick=ProtoGetNickname(proto);
if(nick){
TCHAR msg[1024];
- TCHAR* msgend = msg+SIZEOF(msg)-1;
+ TCHAR* msgend = msg+_countof(msg)-1;
TCHAR* msgoff = msg;
for(const char* c=MIROTR_PROTO_HELLO; *c; *msgoff++=*c++);
*msgoff++ = '\n';