pidgin: ff0d3294: Make that a little more readable.
darkrain42 at pidgin.im
darkrain42 at pidgin.im
Thu Aug 27 21:11:16 EDT 2009
-----------------------------------------------------------------
Revision: ff0d329416c040b67dd99f6bd503bce18bda83e3
Ancestor: 417d3f2a251836352291a67202d85b7d82e97439
Author: darkrain42 at pidgin.im
Date: 2009-08-28T01:04:51
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/ff0d329416c040b67dd99f6bd503bce18bda83e3
Modified files:
libpurple/util.c
ChangeLog:
Make that a little more readable.
-------------- next part --------------
============================================================
--- libpurple/util.c 0b8a49e32d13809bf5c1c4c909d29cfc64c0dd51
+++ libpurple/util.c a8baa6de313143bd81f67a3b37b904f8c2e4397a
@@ -4661,7 +4661,7 @@ purple_utf8_strip_unprintables(const gch
workstr = iter = g_new(gchar, strlen(str) + 1);
for ( ; *str; ++str) {
- if (*str >= 0x20 || *str == 0x09 || *str == 0x0a || *str == 0x0d) {
+ if (*str >= 0x20 || *str == '\t' || *str == '\n' || *str == '\r') {
*iter = *str;
++iter;
}
More information about the Commits
mailing list