From 64516fd98ad1dae35864617563ee9963c0f31917 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 21 Jan 2014 17:18:33 +0000 Subject: - OnSessionCreate was called too early; - function names normalization git-svn-id: http://svn.miranda-ng.org/main/trunk@7818 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Scriver/src/chat/main.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'plugins/Scriver/src/chat/main.cpp') 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; -- cgit v1.2.3