diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2010-09-24 15:58:08 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2010-09-24 15:58:08 +0300 |
commit | ba248e7eb7926648327431e7ef32b302370da5c9 (patch) | |
tree | 4cb97dcf09815ef58bc65127b584e95fba683702 /options.cpp | |
parent | 91629db941f38a8ee819f4cde57ab5c404acc74f (diff) |
modified: options.cpp
Diffstat (limited to 'options.cpp')
-rw-r--r-- | options.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/options.cpp b/options.cpp index 39639cb..f6c1d4b 100644 --- a/options.cpp +++ b/options.cpp @@ -234,8 +234,8 @@ static BOOL CALLBACK DlgProcWordEditDialog(HWND hwndDlg, UINT msg, WPARAM wParam { SetWindowText(hwndDlg, bTargetWord?_T("Edit target word or phrase"):_T("Edit source word or phrase")); TCHAR word[512]; - ListView_GetItemText(hwnd_list_p, item_num, 0, word, 16); - MessageBox(0, word, _T(""), MB_OK); + ListView_GetItemText(hwnd_list_p, item_num, 0, word, 511); + SetWindowText(GetDlgItem(hwndDlg, IDC_EDIT_WORD), word); } else SetWindowText(hwndDlg, bTargetWord?_T("Add target word or phrase"):_T("Add source word or phrase")); |