# HG changeset patch # User Paul Aurich # Date 1250400187 0 # Node ID ce50e961f650d32ccf2a5466349e5d557fc78a8d # Parent df920ad8cf4f9030a407dcaa919c002291270ce1# Parent 6d3f3473cb4c805903a8110bedfb45c677c0954b merge of '319edba55f1c66810f6a7a2af17e808a5bc75e3e' and '6ffba0724b246f1a87f83b1b19299aefcdd48142' diff -r 6d3f3473cb4c -r ce50e961f650 ChangeLog --- 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. diff -r 6d3f3473cb4c -r ce50e961f650 finch/libgnt/gntkeys.c --- 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? */