]> git.sur5r.net Git - i3/i3/commitdiff
s/1/true
authorMichael Stapelberg <michael@stapelberg.de>
Thu, 10 Nov 2011 18:38:29 +0000 (18:38 +0000)
committerMichael Stapelberg <michael@stapelberg.de>
Thu, 10 Nov 2011 18:38:29 +0000 (18:38 +0000)
src/workspace.c

index 1721ec60f5b93d5b4fb1a73fc496d718fbf4ee0d..6bfc7a6dfcc19b9e36463c58e56a52c56c47ddd5 100644 (file)
@@ -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;