Skip to content

Commit fb9076e

Browse files
committed
Use pos? instead of > 0
1 parent 30a8b3b commit fb9076e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lanterna/common.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
:or {interval 50
2727
timeout Double/POSITIVE_INFINITY}}]
2828
(loop [timeout timeout]
29-
(when (> timeout 0)
29+
(when (pos? timeout)
3030
(let [val (apply func args)]
3131
(if (nil? val)
3232
(do (Thread/sleep interval)

0 commit comments

Comments
 (0)