diff options
author | George Hazan <george.hazan@gmail.com> | 2016-08-31 13:13:20 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-08-31 13:13:20 +0000 |
commit | 3a5de07630ca2f73e9f7eebf8e9c5146faf198de (patch) | |
tree | 3c95e1a43e874ddbe5e1f17c02c70aaa63eeb4b3 /protocols | |
parent | 3546e231330c91fb591878ed9031f3b6ebdf2bd4 (diff) |
git-svn-id: http://svn.miranda-ng.org/main/trunk@17230 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/SkypeWeb/src/skype_chatrooms.cpp | 2 |
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
|