# HG changeset patch # User Evan Schoenberg # Date 1173740401 0 # Node ID 8cf610a184810eedb7fd91704d91fd5d6951df17 # Parent a1564afbad84340269aed30d164a4d4872de8d94 Fixed whitespace and variable naming issues with the patch I accepted in 66925c4a3abff28f8826399d55051c6c40ffbe42 diff -r a1564afbad84 -r 8cf610a18481 libpurple/protocols/msn/msn-utils.c --- a/libpurple/protocols/msn/msn-utils.c Mon Mar 12 22:58:03 2007 +0000 +++ b/libpurple/protocols/msn/msn-utils.c Mon Mar 12 23:00:01 2007 +0000 @@ -174,10 +174,10 @@ char fonteffect[4]; char fontcolor[7]; - gboolean haveBold = FALSE; - gboolean haveItalic = FALSE; - gboolean haveUnderline = FALSE; - gboolean haveStrikethrough = FALSE; + gboolean has_bold = FALSE; + gboolean has_italic = FALSE; + gboolean has_underline = FALSE; + gboolean has_strikethrough = FALSE; g_return_if_fail(html != NULL); g_return_if_fail(attributes != NULL); @@ -202,37 +202,37 @@ } else if (!g_ascii_strncasecmp(c + 1, "i>", 2)) { - if ( haveItalic == FALSE ) + if (!has_italic) { strcat(fonteffect, "I"); - haveItalic = TRUE; + has_italic = TRUE; } c += 3; } else if (!g_ascii_strncasecmp(c + 1, "b>", 2)) { - if ( haveBold == FALSE ) + if (!has_bold) { strcat(fonteffect, "B"); - haveBold = TRUE; + has_bold = TRUE; } c += 3; } else if (!g_ascii_strncasecmp(c + 1, "u>", 2)) { - if ( haveUnderline == FALSE ) + if (!has_underline) { strcat(fonteffect, "U"); - haveUnderline = TRUE; + has_underline = TRUE; } c += 3; } else if (!g_ascii_strncasecmp(c + 1, "s>", 2)) { - if ( haveStrikethrough == FALSE ) + if (!has_strikethrough) { strcat(fonteffect, "S"); - haveStrikethrough = TRUE; + has_strikethrough = TRUE; } c += 3; }