diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2013-11-28 02:43:41 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2013-11-28 02:43:41 +0000 |
commit | 34318a0b7b0064c18e639d5ebc9adb78fc2b6d5a (patch) | |
tree | 69f705a145f6f63c487baf44b7382f5bb4d40f12 | |
parent | f8044f6042e2bfa9166f6d3684ec7abe70502f48 (diff) |
src/colorlabel.c: colorlabel_recreate_label(): added missing parentheses.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3304 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/colorlabel.c | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2013-11-28 + + * src/colorlabel.c: colorlabel_recreate_label(): added missing + parentheses. + 2013-11-27 * src/main.c: check the return value of fd_gets(). diff --git a/src/colorlabel.c b/src/colorlabel.c index aabde31e..1a35ad20 100644 --- a/src/colorlabel.c +++ b/src/colorlabel.c @@ -218,7 +218,7 @@ static void colorlabel_recreate_label(gint color) { const gchar *text; - if (!label_colors[color].changed & LCCF_LABEL) + if (!(label_colors[color].changed & LCCF_LABEL)) return; text = colorlabel_get_color_text(color); @@ -244,7 +244,7 @@ static void colorlabel_recreate_all(void) { gint n; - for ( n = 0; n < LABEL_COLORS_ELEMS; n++) + for (n = 0; n < LABEL_COLORS_ELEMS; n++) colorlabel_recreate(n); } |