# HG changeset patch # User ivan.komarov@soc.pidgin.im # Date 1280606932 0 # Node ID 1f3ef11a9690c86ee2d2665d57662c592206fea7 # Parent 1b7152eeea316dfe8ca5154c38242a5565f444cf My esteemed mentor caught me red-handed. Thanks Mark! diff -r 1b7152eeea31 -r 1f3ef11a9690 libpurple/protocols/oscar/encoding.c --- a/libpurple/protocols/oscar/encoding.c Sat Jul 31 20:02:10 2010 +0000 +++ b/libpurple/protocols/oscar/encoding.c Sat Jul 31 20:08:52 2010 +0000 @@ -204,12 +204,13 @@ static guint16 get_simplest_charset(const char *utf8) { - while (*utf8++) + while (*utf8) { if ((unsigned char)(*utf8) > 0x7f) { /* not ASCII! */ return AIM_CHARSET_UNICODE; } + utf8++; } return AIM_CHARSET_ASCII; }