bugfix: saving the user specified packet range text must be utf8'ed, otherwise only the first char will be used

svn path=/trunk/; revision=18547
This commit is contained in:
Ulf Lamping 2006-06-22 19:16:40 +00:00
parent 662f88f02e
commit e7100e5e8e
1 changed files with 1 additions and 1 deletions

View File

@ -1285,7 +1285,7 @@ range_handle_wm_command(HWND dlg_hwnd, HWND ctrl, WPARAM w_param, packet_range_t
break;
case (EN_CHANGE << 16) | EWFD_RANGE_EDIT:
SendMessage(ctrl, WM_GETTEXT, (WPARAM) RANGE_TEXT_MAX, (LPARAM) range_text);
packet_range_convert_str(range, range_text);
packet_range_convert_str(range, utf_16to8((unsigned short *) range_text));
range_update_dynamics(dlg_hwnd, range);
break;
}