From ba248e7eb7926648327431e7ef32b302370da5c9 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Fri, 24 Sep 2010 15:58:08 +0300 Subject: modified: options.cpp --- options.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'options.cpp') 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")); -- cgit v1.2.3