diff options
author | George Hazan <george.hazan@gmail.com> | 2013-08-27 19:50:58 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-08-27 19:50:58 +0000 |
commit | 1e737f420221294c6b35bb3ef10a4e1fdf982a9f (patch) | |
tree | e41f7a7ecb51bf920fdd37623983bd4de2343795 /plugins/Scriver/src/chat/manager.cpp | |
parent | fb8e144f96d9febcb16f1b18f4d87fe9fcec3c10 (diff) |
fix for displaying account names in Chat's popus
git-svn-id: http://svn.miranda-ng.org/main/trunk@5866 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Scriver/src/chat/manager.cpp')
-rw-r--r-- | plugins/Scriver/src/chat/manager.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/Scriver/src/chat/manager.cpp b/plugins/Scriver/src/chat/manager.cpp index 009b9c266b..7d3191c733 100644 --- a/plugins/Scriver/src/chat/manager.cpp +++ b/plugins/Scriver/src/chat/manager.cpp @@ -1104,11 +1104,10 @@ USERINFO * UM_SortUser(USERINFO** ppUserList, const TCHAR* pszUID) USERINFO* UM_AddUser(STATUSINFO* pStatusList, USERINFO** ppUserList, const TCHAR* pszUID, const TCHAR* pszNick, WORD wStatus)
{
- USERINFO * pTemp = *ppUserList, *pLast = NULL;
-
- if (!pStatusList || !ppUserList || !ppUserList)
+ if (!pStatusList || !ppUserList)
return NULL;
+ USERINFO * pTemp = *ppUserList, *pLast = NULL;
while(pTemp && UM_CompareItem(pTemp, pszNick, wStatus) <= 0)
{
pLast = pTemp;
|