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/TabSRMM/src/chat/main.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'plugins/TabSRMM/src/chat/main.cpp') diff --git a/plugins/TabSRMM/src/chat/main.cpp b/plugins/TabSRMM/src/chat/main.cpp index 1d3bbed584..6eb0c2295f 100644 --- a/plugins/TabSRMM/src/chat/main.cpp +++ b/plugins/TabSRMM/src/chat/main.cpp @@ -56,24 +56,24 @@ static void OnCreateSession(SESSION_INFO *si, MODULEINFO *mi) } } -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, GC_UPDATETITLE, 0, 0); } -static void OnSessionReplace(SESSION_INFO *si) +static void OnReplaceSession(SESSION_INFO *si) { if (si->hContact) Chat_SetFilters(si); @@ -270,10 +270,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