summaryrefslogtreecommitdiff
path: root/plugins/Scriver
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-10-18 20:05:08 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-10-18 20:05:08 +0000
commit8c5cf9634f560f7dd3976d762573071d9fca31b3 (patch)
treeb313623e6ba187922ce2a8328b1d48b8a9b37b7a /plugins/Scriver
parentbef8ac146a1f276261ff617fe0f1086bf2f3c85d (diff)
small code warning fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@6521 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Scriver')
-rw-r--r--plugins/Scriver/src/chat/manager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Scriver/src/chat/manager.cpp b/plugins/Scriver/src/chat/manager.cpp
index 7d3191c733..0c54c89940 100644
--- a/plugins/Scriver/src/chat/manager.cpp
+++ b/plugins/Scriver/src/chat/manager.cpp
@@ -1276,11 +1276,11 @@ TCHAR* UM_FindUserAutoComplete(USERINFO* pUserList, const TCHAR* pszOriginal, co
BOOL UM_RemoveUser(USERINFO** ppUserList, const TCHAR* pszUID)
{
- USERINFO *pTemp = *ppUserList, *pLast = NULL;
-
if (!ppUserList || !pszUID)
return FALSE;
+ USERINFO *pTemp = *ppUserList, *pLast = NULL;
+
while (pTemp != NULL) {
if (!lstrcmpi( pTemp->pszUID, pszUID )) {
if (pLast == NULL)