diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-08-17 17:20:22 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-08-17 17:20:22 +0000 |
commit | b403244afc0e6718816d890594dad65d8619c15d (patch) | |
tree | 74400770fb71124d91f9741fde51913aa92c62f6 /plugins/Scriver/src/msgdialog.cpp | |
parent | be3717abb738ab3afdd8e70ec529254130fbb550 (diff) |
Scriver:
- Some settings are now applied without a restart (merges r10545, closes #993, patch by mkvreak)
- minor warnings fixed
git-svn-id: http://svn.miranda-ng.org/main/trunk@14977 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Scriver/src/msgdialog.cpp')
-rw-r--r-- | plugins/Scriver/src/msgdialog.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/Scriver/src/msgdialog.cpp b/plugins/Scriver/src/msgdialog.cpp index 3ac1b73d06..0637424ddf 100644 --- a/plugins/Scriver/src/msgdialog.cpp +++ b/plugins/Scriver/src/msgdialog.cpp @@ -1010,7 +1010,7 @@ INT_PTR CALLBACK DlgProcMessage(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP }
break;
- case DM_UPDATETABCONTROL:
+ case DM_UPDATETABCONTROL: {
TabControlData tcd;
tcd.iFlags = TCDF_TEXT | TCDF_ICON;
tcd.hIcon = GetTabIcon(dat);
@@ -1018,6 +1018,7 @@ INT_PTR CALLBACK DlgProcMessage(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP SendMessage(dat->hwndParent, CM_UPDATETABCONTROL, (WPARAM)&tcd, (LPARAM)hwndDlg);
mir_free(tcd.pszText);
break;
+ }
case DM_UPDATETITLEBAR:
{
@@ -1699,7 +1700,7 @@ INT_PTR CALLBACK DlgProcMessage(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP dbei.pBlob = (PBYTE)mir_alloc(dbei.cbBlob);
db_event_get(dat->hDbEventLast, &dbei);
if (DbEventIsMessageOrCustom(&dbei)) {
- TCHAR *buffer = DbGetEventTextT(&dbei, CP_ACP);
+ buffer = DbGetEventTextT(&dbei, CP_ACP);
if (buffer != NULL) {
TCHAR *quotedBuffer = GetQuotedTextW(buffer);
SendDlgItemMessage(hwndDlg, IDC_MESSAGE, EM_SETTEXTEX, (WPARAM)&st, (LPARAM)quotedBuffer);
|