summaryrefslogtreecommitdiff
path: root/plugins/Scriver
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-18 19:01:16 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-18 19:01:16 +0000
commitfb4c9332fab88aebe97040470b930bbebc8855d2 (patch)
treecd4c426f7ec4f1a1674c83263f4a04cd8b45b37e /plugins/Scriver
parent09122b4014e4dd260f62181c7465e03523b7e2cc (diff)
fix for ctrl+up in Scriver
git-svn-id: http://svn.miranda-ng.org/main/trunk@7737 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Scriver')
-rw-r--r--plugins/Scriver/src/chat/main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/Scriver/src/chat/main.cpp b/plugins/Scriver/src/chat/main.cpp
index ea43bb764c..b283bbec90 100644
--- a/plugins/Scriver/src/chat/main.cpp
+++ b/plugins/Scriver/src/chat/main.cpp
@@ -53,6 +53,11 @@ static void OnAddLog(SESSION_INFO *si, int isOk)
SendMessage(si->hWnd, GC_REDRAWLOG2, 0, 0);
}
+static void OnCreateSession(SESSION_INFO *si, MODULEINFO*)
+{
+ si->windowData.flags = CWDF_RTF_INPUT;
+}
+
static void OnSessionDblClick(SESSION_INFO *si)
{
PostMessage(si->hWnd, GC_CLOSEWINDOW, 0, 0);
@@ -171,6 +176,7 @@ int Chat_Load()
pci->OnAddLog = OnAddLog;
+ pci->OnCreateSession = OnCreateSession;
pci->OnSessionRemove = OnSessionRemove;
pci->OnSessionRename = OnSessionRename;
pci->OnSessionReplace = OnSessionReplace;