diff options
Diffstat (limited to 'plugins/TabSRMM/src')
-rw-r--r-- | plugins/TabSRMM/src/msgdialog.cpp | 2 | ||||
-rw-r--r-- | plugins/TabSRMM/src/msgs.cpp | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp index 69e39b5029..663a4383a0 100644 --- a/plugins/TabSRMM/src/msgdialog.cpp +++ b/plugins/TabSRMM/src/msgdialog.cpp @@ -1420,7 +1420,7 @@ INT_PTR CALLBACK DlgProcMessage(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP SendMessage(hwndContainer, DM_QUERYCLIENTAREA, 0, (LPARAM)&rc);
WNDCLASS wndClass = { 0 };
- GetClassInfo(g_hInst, _T("RichEdit20W"), &wndClass);
+ GetClassInfo(g_hInst, _T("RICHEDIT50W"), &wndClass);
mir_subclassWindowFull(GetDlgItem(hwndDlg, IDC_LOG), MessageLogSubclassProc, wndClass.lpfnWndProc);
SetWindowPos(hwndDlg, 0, rc.left, rc.top, (rc.right - rc.left), (rc.bottom - rc.top), newData->iActivate ? 0 : SWP_NOZORDER | SWP_NOACTIVATE);
diff --git a/plugins/TabSRMM/src/msgs.cpp b/plugins/TabSRMM/src/msgs.cpp index d354ce1922..bb6f28db47 100644 --- a/plugins/TabSRMM/src/msgs.cpp +++ b/plugins/TabSRMM/src/msgs.cpp @@ -337,7 +337,9 @@ int SplitmsgShutdown(void) DestroyCursor(PluginConfig.hCurSplitNS); DestroyCursor(PluginConfig.hCurHyperlinkHand); DestroyCursor(PluginConfig.hCurSplitWE); - FreeLibrary(GetModuleHandleA("riched20")); + + FreeLibrary(GetModuleHandleA("Msftedit.dll")); + if (g_hIconDLL) { FreeLibrary(g_hIconDLL); g_hIconDLL = NULL; @@ -433,7 +435,7 @@ int LoadSendRecvMessageModule(void) icex.dwICC = ICC_COOL_CLASSES | ICC_BAR_CLASSES | ICC_LISTVIEW_CLASSES; InitCommonControlsEx(&icex); - Utils::loadSystemLibrary(L"\\riched20.dll"); + Utils::loadSystemLibrary(L"\\Msftedit.dll"); OleInitialize(NULL); mREOLECallback = new REOLECallback; |