Mercurial > pidgin.yaz
changeset 15789:8cf610a18481
Fixed whitespace and variable naming issues with the patch I accepted in 66925c4a3abff28f8826399d55051c6c40ffbe42
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Mon, 12 Mar 2007 23:00:01 +0000 |
parents | a1564afbad84 |
children | d94d3d0f1149 |
files | libpurple/protocols/msn/msn-utils.c |
diffstat | 1 files changed, 12 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- 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; }