diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-21 17:18:33 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-21 17:18:33 +0000 |
commit | 64516fd98ad1dae35864617563ee9963c0f31917 (patch) | |
tree | 5531fe065d5237dac8523fca1f19ff7f3ceeb958 /src/core | |
parent | 5e4262399fa35d391df2cc86ad0b259a08a25e5a (diff) |
- OnSessionCreate was called too early;
- function names normalization
git-svn-id: http://svn.miranda-ng.org/main/trunk@7818 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/stdchat/src/main.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/core/stdchat/src/main.cpp b/src/core/stdchat/src/main.cpp index aa0be90023..49aa8fcc07 100644 --- a/src/core/stdchat/src/main.cpp +++ b/src/core/stdchat/src/main.cpp @@ -112,7 +112,7 @@ static void OnClearLog(SESSION_INFO *si) }
}
-static void OnSessionDblClick(SESSION_INFO *si)
+static void OnDblClickSession(SESSION_INFO *si)
{
if (g_Settings.bTabsEnable)
SendMessage(si->hWnd, GC_REMOVETAB, 1, (LPARAM)si);
@@ -120,7 +120,7 @@ static void OnSessionDblClick(SESSION_INFO *si) PostMessage(si->hWnd, GC_CLOSEWINDOW, 0, 0);
}
-static void OnSessionRemove(SESSION_INFO *si)
+static void OnRemoveSession(SESSION_INFO *si)
{
if (!g_Settings.bTabsEnable) {
if (si->hWnd)
@@ -133,7 +133,7 @@ static void OnSessionRemove(SESSION_INFO *si) g_TabSession.nUsersInNicklist = 0;
}
-static void OnSessionRename(SESSION_INFO *si)
+static void OnRenameSession(SESSION_INFO *si)
{
if (g_TabSession.hWnd && g_Settings.bTabsEnable) {
g_TabSession.ptszName = si->ptszName;
@@ -141,7 +141,7 @@ static void OnSessionRename(SESSION_INFO *si) }
}
-static void OnSessionReplace(SESSION_INFO *si)
+static void OnReplaceSession(SESSION_INFO *si)
{
if (si->hWnd)
g_TabSession.nUsersInNicklist = 0;
@@ -154,7 +154,7 @@ static void OnSessionReplace(SESSION_INFO *si) RedrawWindow(GetDlgItem(g_TabSession.hWnd, IDC_LIST), NULL, NULL, RDW_INVALIDATE);
}
-static void OnSessionOffline(SESSION_INFO *si)
+static void OnOfflineSession(SESSION_INFO *si)
{
if (si->hWnd) {
g_TabSession.nUsersInNicklist = 0;
@@ -350,11 +350,11 @@ extern "C" __declspec(dllexport) int Load(void) pci->OnClearLog = OnClearLog;
pci->OnCreateModule = OnCreateModule;
- pci->OnSessionOffline = OnSessionOffline;
- pci->OnSessionRemove = OnSessionRemove;
- pci->OnSessionRename = OnSessionRename;
- pci->OnSessionReplace = OnSessionReplace;
- pci->OnSessionDblClick = OnSessionDblClick;
+ pci->OnOfflineSession = OnOfflineSession;
+ pci->OnRemoveSession = OnRemoveSession;
+ pci->OnRenameSession = OnRenameSession;
+ pci->OnReplaceSession = OnReplaceSession;
+ pci->OnDblClickSession = OnDblClickSession;
pci->OnEventBroadcast = OnEventBroadcast;
pci->OnLoadSettings = OnLoadSettings;
|