From 3a5de07630ca2f73e9f7eebf8e9c5146faf198de Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 31 Aug 2016 13:13:20 +0000 Subject: git-svn-id: http://svn.miranda-ng.org/main/trunk@17230 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/skype_chatrooms.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/SkypeWeb') diff --git a/protocols/SkypeWeb/src/skype_chatrooms.cpp b/protocols/SkypeWeb/src/skype_chatrooms.cpp index dc134ea811..71c924d51c 100644 --- a/protocols/SkypeWeb/src/skype_chatrooms.cpp +++ b/protocols/SkypeWeb/src/skype_chatrooms.cpp @@ -227,7 +227,7 @@ int CSkypeProto::OnGroupChatEventHook(WPARAM, LPARAM lParam) break; // This probably shouldn't happen, but if chat is NULL for some reason, do nothing ptrW tnick_new(pForm.ptszResult); - bool reset = (tnick_new == NULL || tnick_new[0] == '\0'); + bool reset = mir_wstrlen(tnick_new) == 0; if (reset) { // User fill blank name, which means we reset the custom nick -- cgit v1.2.3