From: Bastien Dejean Date: Tue, 11 Sep 2012 14:38:29 +0000 (+0200) Subject: Missing comparison X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=11999bc55b025283bedea072cc2960cff983de3d;p=bspwm.git Missing comparison --- diff --git a/messages.c b/messages.c index 8bbc0e9..dd2a9bd 100644 --- a/messages.c +++ b/messages.c @@ -42,7 +42,7 @@ void process_message(char *msg, char *rsp) split_dir = parse_direction(dir); draw_triple_border(desk->focus, active_border_color_pxl); } - } else if (strcmp(cmd, "push") == 0 || strcmp(cmd, "pull")) { + } else if (strcmp(cmd, "push") == 0 || strcmp(cmd, "pull") == 0) { char *dir = strtok(NULL, TOKEN_SEP); if (dir != NULL) { fence_move_t m = parse_fence_move(cmd);