changeset 28106:6329667b9ea1

Make that a little more readable.
author Paul Aurich <paul@darkrain42.org>
date Fri, 28 Aug 2009 01:04:51 +0000
parents 4bbf24889934
children 0a4d0d4cf5df
files libpurple/util.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/util.c	Fri Aug 28 00:00:46 2009 +0000
+++ b/libpurple/util.c	Fri Aug 28 01:04:51 2009 +0000
@@ -4661,7 +4661,7 @@
 
 	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;
 		}