summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_dialogs.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-11-28 20:39:33 +0000
committerRobert Pösel <robyer@seznam.cz>2014-11-28 20:39:33 +0000
commit8ef64da1b7cc3ef5026ab2dc80e7e0fd88971d59 (patch)
tree082a1ffd01a4891d847b87eb472d1cc0d6bf3ad2 /protocols/Steam/src/steam_dialogs.cpp
parentb063b7878c47f85f0760d8fdf9595e3b8b3540cf (diff)
Steam: Small optimizations
git-svn-id: http://svn.miranda-ng.org/main/trunk@11133 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam/src/steam_dialogs.cpp')
-rw-r--r--protocols/Steam/src/steam_dialogs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Steam/src/steam_dialogs.cpp b/protocols/Steam/src/steam_dialogs.cpp
index af0cea11b7..6d41098da9 100644
--- a/protocols/Steam/src/steam_dialogs.cpp
+++ b/protocols/Steam/src/steam_dialogs.cpp
@@ -219,7 +219,7 @@ INT_PTR CALLBACK CSteamProto::MainOptionsProc(HWND hwnd, UINT message, WPARAM wP
wchar_t groupName[128];
GetDlgItemText(hwnd, IDC_GROUP, groupName, SIZEOF(groupName));
- if (lstrlen(groupName) > 0)
+ if (groupName[0] != '\0')
{
proto->setWString(NULL, "DefaultGroup", groupName);
Clist_CreateGroup(0, groupName);