From 62f0a9e21dc6c24e8c1633f15eea3f3662804ce7 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Thu, 10 Nov 2011 18:38:29 +0000 Subject: [PATCH] s/1/true --- src/workspace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5