diff options
author | George Hazan <george.hazan@gmail.com> | 2015-09-01 15:18:56 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-09-01 15:18:56 +0000 |
commit | c16bd3d58396036f078282ad0b7032562c0c0533 (patch) | |
tree | 28a330ad3bd8ba85a20cd2b9a18d5186a0861e66 /plugins/TabSRMM/src/msgdialog.cpp | |
parent | 1b9f36054bddeef87d4f9c139877d28c4e6b1702 (diff) |
- adaptation for the kernel strdel();
- buffer overrun removed (rare crashes);
- old useless code removed;
- removal of a blank line after comments was a bad idea
git-svn-id: http://svn.miranda-ng.org/main/trunk@15136 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/msgdialog.cpp')
-rw-r--r-- | plugins/TabSRMM/src/msgdialog.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp index a69d9e87e8..e5b790f142 100644 --- a/plugins/TabSRMM/src/msgdialog.cpp +++ b/plugins/TabSRMM/src/msgdialog.cpp @@ -79,6 +79,7 @@ static void _clrMsgFilter(LPARAM lParam) // @param idFrom dlg ctrl id
// @param hwndFrom src window handle
// @param pt mouse pointer position
+
static void ShowPopupMenu(TWindowData *dat, int idFrom, HWND hwndFrom, POINT pt)
{
CHARRANGE sel, all = { 0, -1 };
@@ -213,6 +214,7 @@ LRESULT CALLBACK IEViewSubclassProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM l /////////////////////////////////////////////////////////////////////////////////////////
// sublassing procedure for the h++ based message log viewer
+
LRESULT CALLBACK HPPKFSubclassProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
{
TWindowData *mwdat = (TWindowData*)GetWindowLongPtr(GetParent(hwnd), GWLP_USERDATA);
@@ -250,6 +252,7 @@ LRESULT CALLBACK HPPKFSubclassProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lP //
// it protects itself from being called more than once per session activation and is valid for
// normal IM sessions *only*. Group chat sessions have their own activation handler (see chat/window.c)
+
static void MsgWindowUpdateState(TWindowData *dat, UINT msg)
{
if (dat == NULL || dat->iTabID < 0)
@@ -768,6 +771,7 @@ static LRESULT CALLBACK MessageEditSubclassProc(HWND hwnd, UINT msg, WPARAM wPar /////////////////////////////////////////////////////////////////////////////////////////
// subclasses the avatar display controls, needed for skinning and to prevent
// it from flickering during resize/move operations.
+
static LRESULT CALLBACK AvatarSubclassProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
{
switch (msg) {
@@ -933,6 +937,7 @@ LRESULT CALLBACK SplitterSubclassProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM /////////////////////////////////////////////////////////////////////////////////////////
// resizer proc for the "new" layout.
+
static int MessageDialogResize(HWND hwndDlg, LPARAM lParam, UTILRESIZECONTROL * urc)
{
TWindowData *dat = (TWindowData*)lParam;
|