aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}