pidgin: 8e3f07ee: Oops, I think it's either sleep or coffe...

darkrain42 at pidgin.im darkrain42 at pidgin.im
Fri Aug 28 01:40:22 EDT 2009


-----------------------------------------------------------------
Revision: 8e3f07ee41e0a06ef01e353e2162d8fcf3d6bb33
Ancestor: f2efeafeada79c882e6f98bd0b18d6cec9bd0f09
Author: darkrain42 at pidgin.im
Date: 2009-08-28T05:35:00
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/8e3f07ee41e0a06ef01e353e2162d8fcf3d6bb33

Modified files:
        libpurple/util.c

ChangeLog: 

Oops, I think it's either sleep or coffee time.

-------------- next part --------------
============================================================
--- libpurple/util.c	90c74eb15d980752568a6341719bd09ff171af68
+++ libpurple/util.c	c307654b2a9f5ff33dca165ad5597830a0bd7539
@@ -4658,7 +4658,7 @@ purple_utf8_strip_unprintables(const gch
 		/* Act like g_strdup */
 		return NULL;
 
-	if (g_utf8_validate(str, -1, &bad)) {
+	if (!g_utf8_validate(str, -1, &bad)) {
 		purple_debug_error("util", "purple_utf8_strip_unprintables(%s) failed; "
 		                           "first bad character was %02x (%c)\n",
 		                   str, *bad, *bad);


More information about the Commits mailing list