# HG changeset patch # User Mark Doliner # Date 1249426078 0 # Node ID c859855474ba79f8d035955b8b8342942916a242 # Parent bc9da266d25d7f38045d0fbc24ab97e315f421f7 Use TRUE and FALSE instead of 1 and 0. I like TRUE and FALSE. diff -r bc9da266d25d -r c859855474ba libpurple/protocols/yahoo/util.c --- a/libpurple/protocols/yahoo/util.c Tue Aug 04 21:03:34 2009 +0000 +++ b/libpurple/protocols/yahoo/util.c Tue Aug 04 22:47:58 2009 +0000 @@ -699,7 +699,7 @@ { int m, n, vstart; - gboolean quote = 0, done = 0; + gboolean quote = FALSE, done = FALSE; m = *j; @@ -724,7 +724,7 @@ if (src[n] == '"') { if (!quote) { - quote = 1; + quote = TRUE; vstart = n; continue; } else { @@ -733,7 +733,7 @@ } if (!quote && ((src[n] == ' ') || (src[n] == '>'))) - done = 1; + done = TRUE; if (done) { if (!g_ascii_strncasecmp(&src[*j+1], "FACE", m - *j - 1)) { @@ -790,7 +790,7 @@ *j = m; if (src[m] == '>') { - gboolean needendtag = 0; + gboolean needendtag = FALSE; fontattr *f; GString *tmp = g_string_new(NULL); @@ -799,7 +799,7 @@ switch (f->type) { case FATYPE_SIZE: if (!needendtag) { - needendtag = 1; + needendtag = TRUE; g_string_append(dest, ""); dest->str[dest->len-1] = '>'; - needendtag = 0; + needendtag = TRUE; } g_string_append(tmp, *colors ? (*colors)->data : "\033[#000000m");