summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@comhem.se>2007-05-12 16:56:36 +0000
committerMikael Magnusson <mikachu@comhem.se>2007-05-12 16:56:36 +0000
commiteab6ff75c0637500abd7db8934896c16d4a07041 (patch)
tree47fd805a7fb02b686409cfa092f23a7564a8a017
parent4320bf5fc0119f16974d487a5ec5f4d5babdcde3 (diff)
micromicrooptimization
-rw-r--r--render/theme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/theme.c b/render/theme.c
index 8051a3af..6635207f 100644
--- a/render/theme.c
+++ b/render/theme.c
@@ -1198,7 +1198,7 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name,
RrMargins(theme->a_focused_label, &fl, &ft, &fr, &fb);
RrMargins(theme->a_unfocused_label, &ul, &ut, &ur, &ub);
theme->label_height = theme->win_font_height + MAX(ft + fb, ut + ub);
- theme->label_height += theme->label_height % 2;
+ theme->label_height += theme->label_height & 1;
/* this would be nice I think, since padding.width can now be 0,
but it breaks frame.c horribly and I don't feel like fixing that