summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/chat/manager.cpp
diff options
context:
space:
mode:
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;