diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-04 19:26:46 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-04 19:26:46 +0000 |
commit | fba57c10d9f9552c9c31c20283147348789ef650 (patch) | |
tree | 165c4c7ed8fad3c092bf455abf99af4a7a058383 /protocols/FacebookRM/src/dialogs.cpp | |
parent | 73504917190e8d183212ec62ad1668d3e72901a7 (diff) |
some code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@7499 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/dialogs.cpp')
-rw-r--r-- | protocols/FacebookRM/src/dialogs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/dialogs.cpp b/protocols/FacebookRM/src/dialogs.cpp index fbc388bf26..e946928c4f 100644 --- a/protocols/FacebookRM/src/dialogs.cpp +++ b/protocols/FacebookRM/src/dialogs.cpp @@ -408,7 +408,7 @@ INT_PTR CALLBACK FBOptionsProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lp proto->setString(FACEBOOK_KEY_PASS, str);
GetDlgItemText(hwnd,IDC_GROUP,tstr,sizeof(tstr));
- if (lstrlen(tstr) > 0)
+ if (tstr[0] != '\0')
{
proto->setTString(FACEBOOK_KEY_DEF_GROUP, tstr);
Clist_CreateGroup( 0, tstr);
|