summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/chat/manager.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-08-12 15:30:21 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-08-12 15:30:21 +0000
commitc2cb7db85cbd67c5b95c2735d9b917eb0ac1d234 (patch)
tree730a517f85371ba59019bb80c32f62bbbc4abeb1 /plugins/TabSRMM/src/chat/manager.cpp
parent9ffedbd49389d9aaebb0e118b0c0299b0d4d6a97 (diff)
- fix for a rare crash on tabsrmm tooltips;
- toolbar buttons added to a log git-svn-id: http://svn.miranda-ng.org/main/trunk@5659 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/chat/manager.cpp')
-rw-r--r--plugins/TabSRMM/src/chat/manager.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/chat/manager.cpp b/plugins/TabSRMM/src/chat/manager.cpp
index 651c7945ef..3458ae87c3 100644
--- a/plugins/TabSRMM/src/chat/manager.cpp
+++ b/plugins/TabSRMM/src/chat/manager.cpp
@@ -657,7 +657,8 @@ void SM_AddCommand(const TCHAR* pszID, const char* pszModule, const char* lpNewC
if (si->lpCommands == NULL) {
node->next = NULL;
si->lpCommands = node;
- } else {
+ }
+ else {
node->next = si->lpCommands;
si->lpCommands->last = node; // hmm, weird
si->lpCommands = node;
@@ -1189,7 +1190,7 @@ BOOL UM_SetStatusEx(USERINFO* pUserList, const TCHAR* pszText, int flags)
if (pszText == NULL)
continue;
- TCHAR* s = (TCHAR *)_tcsstr(pszText, p->pszUID);
+ TCHAR* s = (TCHAR*)_tcsstr(pszText, p->pszUID);
if (s == NULL)
continue;