diff options
author | George Hazan <george.hazan@gmail.com> | 2012-09-26 19:26:13 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-09-26 19:26:13 +0000 |
commit | c3f5a3edb0b04ead2e16a68e3c2bd8a1721667df (patch) | |
tree | ca35e73c0e85445c4be202b6a4004b79ab256a87 /src/modules/plugins/pluginopts.cpp | |
parent | 0749596a20b86503dc28e2760f770105347cdb42 (diff) |
fix for memory corruption
git-svn-id: http://svn.miranda-ng.org/main/trunk@1671 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/plugins/pluginopts.cpp')
-rw-r--r-- | src/modules/plugins/pluginopts.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/plugins/pluginopts.cpp b/src/modules/plugins/pluginopts.cpp index 9761c14ce5..db6f257aca 100644 --- a/src/modules/plugins/pluginopts.cpp +++ b/src/modules/plugins/pluginopts.cpp @@ -350,7 +350,7 @@ INT_PTR CALLBACK DlgPluginOpt(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPar SetWindowTextA( GetDlgItem(hwndDlg, IDC_PLUGINEMAIL), sel ? dat->authorEmail : "");
mir_ptr<TCHAR> p( Langpack_PcharToTchar(dat->description));
- SetWindowText( GetDlgItem(hwndDlg, IDC_PLUGINLONGINFO), sel ? p : _T(""));
+ SetWindowText( GetDlgItem(hwndDlg, IDC_PLUGINLONGINFO), sel ? (TCHAR*)p : _T(""));
SetWindowTextA( GetDlgItem(hwndDlg, IDC_PLUGINCPYR), sel ? dat->copyright : "");
SetWindowTextA( GetDlgItem(hwndDlg, IDC_PLUGINURL), sel ? dat->homepage : "");
|