From: Michael Stapelberg Date: Thu, 10 Nov 2011 18:38:29 +0000 (+0000) Subject: s/1/true X-Git-Tag: 4.1~15 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=62f0a9e21dc6c24e8c1633f15eea3f3662804ce7;p=i3%2Fi3 s/1/true --- diff --git a/src/workspace.c b/src/workspace.c index 1721ec60..6bfc7a6d 100644 --- a/src/workspace.c +++ b/src/workspace.c @@ -360,7 +360,7 @@ Con* workspace_prev() { if (child->type != CT_WORKSPACE) continue; if (child == current) { - found_current = 1; + found_current = true; } else if (child->num == -1 && (current->num != -1 || found_current)) { prev = child; goto workspace_prev_end;