1
1

Merge branch '1883_winput_handle_0xff_char'

* 1883_winput_handle_0xff_char:
  Ticket #1883: fixed handling of 0xff character in WInput widget.
Этот коммит содержится в:
Andrew Borodin 2009-12-24 22:18:30 +03:00
родитель bd67eb857c bce9bc5027
Коммит 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);