From fba57c10d9f9552c9c31c20283147348789ef650 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 4 Jan 2014 19:26:46 +0000 Subject: some code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@7499 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/FloatingContacts/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/FloatingContacts/src/main.cpp') diff --git a/plugins/FloatingContacts/src/main.cpp b/plugins/FloatingContacts/src/main.cpp index ec0e266b33..9e2892a204 100644 --- a/plugins/FloatingContacts/src/main.cpp +++ b/plugins/FloatingContacts/src/main.cpp @@ -655,7 +655,7 @@ void RegHotkey(HANDLE hContact, HWND hwnd) strncpy(szBuf, dbv.pszVal, MAX_PATH - 1); db_free( &dbv ); - if ( 0 != strlen( szBuf )) { + if (szBuf[0] != '\0') { UINT nModifiers = 0; char chKey = 0; char szMod[2][20] = {0}; -- cgit v1.2.3