Mercurial > pidgin.yaz
changeset 28269:df920ad8cf4f
merge of '21745356545795bcec9c44cff0e779429c5092c6'
and '39fc4acd81cf1796220d3ed4fff0b17bc5acf6de'
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sun, 16 Aug 2009 03:27:56 +0000 |
parents | 3b6f50b68f5d (diff) 6b05a0e36ffb (current diff) |
children | ce50e961f650 |
files | |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Sun Aug 16 03:23:54 2009 +0000 +++ b/ChangeLog Sun Aug 16 03:27:56 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 03:23:54 2009 +0000 +++ b/finch/libgnt/gntkeys.c Sun Aug 16 03:27:56 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? */