# HG changeset patch # User Florian Quèze # Date 1339472223 0 # Node ID 3c484eb8725ea9700ccba0e1086cffa7ad55c835 # Parent e4d66316910815fe4bcc086b477faefb52ed550d msn: Fix build on Windows w/ MSVC (broke in 2.10.4) Merged https://hg.instantbird.org/instantbird/rev/392231064149 from InstantBird. Thanks, Florian! committer: Paul Aurich diff -r e4d663169108 -r 3c484eb8725e ChangeLog --- a/ChangeLog Sat Jun 02 02:30:13 2012 +0000 +++ b/ChangeLog Tue Jun 12 03:37:03 2012 +0000 @@ -8,6 +8,10 @@ * Fix a crash that may occur when trying to ignore a user who is not in the current chat room. (#15139) + MSN: + * Fix building with MSVC on Windows (broken in 2.10.4). (Florian + Quèze) + version 2.10.4 (05/06/2012): General: * Support building against Farstream in addition to Farsight. diff -r e4d663169108 -r 3c484eb8725e libpurple/protocols/msn/oim.c --- a/libpurple/protocols/msn/oim.c Sat Jun 02 02:30:13 2012 +0000 +++ b/libpurple/protocols/msn/oim.c Tue Jun 12 03:37:03 2012 +0000 @@ -660,7 +660,7 @@ charset = msn_message_get_charset(message); } - if (charset && !((strncasecmp(charset, "UTF-8", 5) == 0) || (strncasecmp(charset, "UTF8", 4) == 0))) { + if (charset && !((g_ascii_strncasecmp(charset, "UTF-8", 5) == 0) || (g_ascii_strncasecmp(charset, "UTF8", 4) == 0))) { clean_msg = g_convert(decode_msg, body_len, "UTF-8", charset, NULL, NULL, NULL); if (!clean_msg) {