summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2010-09-24 15:58:08 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2010-09-24 15:58:08 +0300
commitba248e7eb7926648327431e7ef32b302370da5c9 (patch)
tree4cb97dcf09815ef58bc65127b584e95fba683702
parent91629db941f38a8ee819f4cde57ab5c404acc74f (diff)
modified: options.cpp
-rw-r--r--options.cpp4
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"));