summaryrefslogtreecommitdiff
path: root/plugins/Scriver
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-21 17:18:33 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-21 17:18:33 +0000
commit64516fd98ad1dae35864617563ee9963c0f31917 (patch)
tree5531fe065d5237dac8523fca1f19ff7f3ceeb958 /plugins/Scriver
parent5e4262399fa35d391df2cc86ad0b259a08a25e5a (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 'plugins/Scriver')
-rw-r--r--plugins/Scriver/src/chat/main.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/Scriver/src/chat/main.cpp b/plugins/Scriver/src/chat/main.cpp
index 5ccd29dd3a..8274ed3720 100644
--- a/plugins/Scriver/src/chat/main.cpp
+++ b/plugins/Scriver/src/chat/main.cpp
@@ -58,24 +58,24 @@ static void OnCreateSession(SESSION_INFO *si, MODULEINFO*)
si->windowData.flags = CWDF_RTF_INPUT;
}
-static void OnSessionDblClick(SESSION_INFO *si)
+static void OnDblClickSession(SESSION_INFO *si)
{
PostMessage(si->hWnd, GC_CLOSEWINDOW, 0, 0);
}
-static void OnSessionRemove(SESSION_INFO *si)
+static void OnRemoveSession(SESSION_INFO *si)
{
if (si->hWnd)
SendMessage(si->hWnd, GC_EVENT_CONTROL + WM_USER + 500, SESSION_TERMINATE, 0);
}
-static void OnSessionRename(SESSION_INFO *si)
+static void OnRenameSession(SESSION_INFO *si)
{
if (si->hWnd)
SendMessage(si->hWnd, DM_UPDATETITLEBAR, 0, 0);
}
-static void OnSessionReplace(SESSION_INFO *si)
+static void OnReplaceSession(SESSION_INFO *si)
{
if (si->hWnd)
RedrawWindow(GetDlgItem(si->hWnd, IDC_CHAT_LIST), NULL, NULL, RDW_INVALIDATE);
@@ -199,10 +199,10 @@ int Chat_Load()
pci->OnAddLog = OnAddLog;
pci->OnCreateSession = OnCreateSession;
- pci->OnSessionRemove = OnSessionRemove;
- pci->OnSessionRename = OnSessionRename;
- pci->OnSessionReplace = OnSessionReplace;
- pci->OnSessionDblClick = OnSessionDblClick;
+ pci->OnRemoveSession = OnRemoveSession;
+ pci->OnRenameSession = OnRenameSession;
+ pci->OnReplaceSession = OnReplaceSession;
+ pci->OnDblClickSession = OnDblClickSession;
pci->OnEventBroadcast = OnEventBroadcast;
pci->OnSetStatusBar = OnSetStatusBar;