summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
Diffstat (limited to 'protocols')
-rw-r--r--protocols/SkypeWeb/src/skype_chatrooms.cpp2
1 files changed, 1 insertions, 1 deletions
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