aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2013-11-28 02:43:41 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2013-11-28 02:43:41 +0000
commit34318a0b7b0064c18e639d5ebc9adb78fc2b6d5a (patch)
tree69f705a145f6f63c487baf44b7382f5bb4d40f12
parentf8044f6042e2bfa9166f6d3684ec7abe70502f48 (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--ChangeLog5
-rw-r--r--src/colorlabel.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index fa1041c7..a68f27e4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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);
}