soc.2010.icq-tlc: c45d1240: My esteemed mentor caught me red-handed....

ivan.komarov at soc.pidgin.im ivan.komarov at soc.pidgin.im
Sat Jul 31 16:15:44 EDT 2010


----------------------------------------------------------------------
Revision: c45d1240761eb63271e80bdde2ec10b5ee9e1421
Parent:   f743e02d7d617dd5429dd8ed87576873c4b9b9b8
Author:   ivan.komarov at soc.pidgin.im
Date:     07/31/10 16:08:52
Branch:   im.pidgin.soc.2010.icq-tlc
URL: http://d.pidgin.im/viewmtn/revision/info/c45d1240761eb63271e80bdde2ec10b5ee9e1421

Changelog: 

My esteemed mentor caught me red-handed. Thanks Mark!

Changes against parent f743e02d7d617dd5429dd8ed87576873c4b9b9b8

  patched  libpurple/protocols/oscar/encoding.c

-------------- next part --------------
============================================================
--- libpurple/protocols/oscar/encoding.c	c76fb83034d71716e0b6d555c77c0c79eff2456a
+++ libpurple/protocols/oscar/encoding.c	299adc011f3c0b19ab9e8bddd34c8052257895c4
@@ -204,12 +204,13 @@ get_simplest_charset(const char *utf8)
 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;
 }


More information about the Commits mailing list