Mercurial > pidgin.yaz
changeset 28270:ce50e961f650
merge of '319edba55f1c66810f6a7a2af17e808a5bc75e3e'
and '6ffba0724b246f1a87f83b1b19299aefcdd48142'
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Sun, 16 Aug 2009 05:23:07 +0000 |
parents | df920ad8cf4f (diff) 6d3f3473cb4c (current diff) |
children | 957b26cadd97 650b79eaf305 |
files | |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Sun Aug 16 04:06:21 2009 +0000 +++ b/ChangeLog Sun Aug 16 05:23:07 2009 +0000 @@ -192,6 +192,8 @@ * The hardware cursor is updated correctly. This will be useful especially for users of braille terminals, screen readers etc. * Added a TinyURL plugin, which aids copying longer URLs. + * Fixed UTF-8 compatibility problems which could cause exits or other + unrequested behaviour. Pidgin GTK+ Theme Control Plugin: * Removed mouse cursor color preferences.
--- a/finch/libgnt/gntkeys.c Sun Aug 16 04:06:21 2009 +0000 +++ b/finch/libgnt/gntkeys.c Sun Aug 16 05:23:07 2009 +0000 @@ -166,7 +166,7 @@ strstr(term, "xterm") == term || strstr(term, "vt100") == term) *(text + 1) = 'O'; - } else if (*(unsigned char*)text == 195) { + } else if (g_utf8_get_char(text) == 195) { if (*(text + 2) == 0 && strstr(term, "xterm") == term) { *(text) = 27; *(text + 1) -= 64; /* Say wha? */