fix parentheses

This commit is contained in:
Calvin Kosmatka 2017-04-12 03:30:01 -05:00
parent 7c3dd9ecfb
commit 3172023df8

View file

@ -288,7 +288,7 @@ void render(struct output *output, struct config *config, struct status_line *li
cairo_restore(cairo); cairo_restore(cairo);
// Could also be done by always rendering then conditionally clearing and drawing alpha // Could also be done by always rendering then conditionally clearing and drawing alpha
// That may be preferable down the line // That may be preferable down the line
if (!strcmp(config->display_mode, "hide") == 0 || strcmp(config->hidden_state, "show") == 0) { if ((!strcmp(config->display_mode, "hide")) == 0 || strcmp(config->hidden_state, "show") == 0) {
cairo_set_operator(cairo, CAIRO_OPERATOR_SOURCE); cairo_set_operator(cairo, CAIRO_OPERATOR_SOURCE);