diff options
author | George Hazan <george.hazan@gmail.com> | 2014-03-14 20:22:55 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-03-14 20:22:55 +0000 |
commit | 60adc0705ec417756a3e86d436ad21b5265a1da2 (patch) | |
tree | 112f226275020791c6d390d8413c517f96ef085c /src/modules/chat/manager.cpp | |
parent | 6c11adb0b8ca512ffa8a2604ab2f7226a2214cc9 (diff) |
fixes #592 (Crash on exit if LoadDefaultModules(void) not executed all)
git-svn-id: http://svn.miranda-ng.org/main/trunk@8604 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/chat/manager.cpp')
-rw-r--r-- | src/modules/chat/manager.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/modules/chat/manager.cpp b/src/modules/chat/manager.cpp index 9a5e0fcf83..41cc818af3 100644 --- a/src/modules/chat/manager.cpp +++ b/src/modules/chat/manager.cpp @@ -774,7 +774,7 @@ static char* SM_GetUsers(SESSION_INFO *si) lstrcpyA(p + pLen + nameLen, " ");
utemp = utemp->next;
}
- while (utemp != NULL);
+ while (utemp != NULL);
return p;
}
@@ -833,7 +833,7 @@ static void MM_IconsChanged(void) if (ci.OnCreateModule) // recreate icons
ci.OnCreateModule(pTemp);
-
+
pTemp = pTemp->next;
}
}
@@ -1221,8 +1221,8 @@ static TCHAR* UM_FindUserAutoComplete(USERINFO* pUserList, const TCHAR* pszOrigi USERINFO *pTemp = pUserList;
while (pTemp != NULL) {
if (pTemp->pszNick && my_strstri(pTemp->pszNick, pszOriginal) == pTemp->pszNick)
- if (lstrcmpi(pTemp->pszNick, pszCurrent) > 0 && (!pszName || lstrcmpi(pTemp->pszNick, pszName) < 0))
- pszName = pTemp->pszNick;
+ if (lstrcmpi(pTemp->pszNick, pszCurrent) > 0 && (!pszName || lstrcmpi(pTemp->pszNick, pszName) < 0))
+ pszName = pTemp->pszNick;
pTemp = pTemp->next;
}
@@ -1414,14 +1414,14 @@ INT_PTR SvcGetChatManager(WPARAM wParam, LPARAM lParam) ci.SM_GetUsers = SM_GetUsers;
ci.SM_GetUserFromIndex = SM_GetUserFromIndex;
ci.SM_InvalidateLogDirectories = SM_InvalidateLogDirectories;
-
+
ci.MM_AddModule = MM_AddModule;
ci.MM_FindModule = MM_FindModule;
ci.MM_FixColors = MM_FixColors;
ci.MM_FontsChanged = MM_FontsChanged;
ci.MM_IconsChanged = MM_IconsChanged;
ci.MM_RemoveAll = MM_RemoveAll;
-
+
ci.TM_AddStatus = TM_AddStatus;
ci.TM_FindStatus = TM_FindStatus;
ci.TM_StringToWord = TM_StringToWord;
@@ -1440,7 +1440,7 @@ INT_PTR SvcGetChatManager(WPARAM wParam, LPARAM lParam) ci.UM_RemoveUser = UM_RemoveUser;
ci.UM_RemoveAll = UM_RemoveAll;
ci.UM_CompareItem = UM_CompareItem;
-
+
ci.LM_AddEvent = LM_AddEvent;
ci.LM_TrimLog = LM_TrimLog;
ci.LM_RemoveAll = LM_RemoveAll;
@@ -1450,15 +1450,15 @@ INT_PTR SvcGetChatManager(WPARAM wParam, LPARAM lParam) ci.SetAllOffline = SetAllOffline;
ci.AddEvent = AddEvent;
ci.FindRoom = FindRoom;
-
+
ci.Log_CreateRTF = Log_CreateRTF;
ci.Log_CreateRtfHeader = Log_CreateRtfHeader;
ci.LoadMsgDlgFont = LoadMsgDlgFont;
ci.MakeTimeStamp = MakeTimeStamp;
-
+
ci.DoEventHook = DoEventHook;
ci.DoEventHookAsync = DoEventHookAsync;
-
+
ci.DoSoundsFlashPopupTrayStuff = DoSoundsFlashPopupTrayStuff;
ci.DoTrayIcon = DoTrayIcon;
ci.DoPopup = DoPopup;
|