Merge branch '1883_winput_handle_0xff_char'
* 1883_winput_handle_0xff_char: Ticket #1883: fixed handling of 0xff character in WInput widget.
Этот коммит содержится в:
Коммит
48aaef13d8
@ -1891,8 +1891,8 @@ void
|
||||
stuff (WInput *in, const char *text, int insert_extra_space)
|
||||
{
|
||||
input_disable_update (in);
|
||||
while (*text)
|
||||
handle_char (in, *text++);
|
||||
while (*text != '\0')
|
||||
handle_char (in, (unsigned char) *text++); /* unsigned extension char->int */
|
||||
if (insert_extra_space)
|
||||
handle_char (in, ' ');
|
||||
input_enable_update (in);
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user