From d385642ff33e8b8853f4b2df6ec6bf0ca1eb56c6 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Mon, 1 Jun 2020 15:36:33 -0500 Subject: Fix beginning of history detection --- bollux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bollux b/bollux index 06e5403..ed5c71b 100755 --- a/bollux +++ b/bollux @@ -663,7 +663,7 @@ history_append() { # history_append URL history_back() { log d "HN=$HN" ((HN -= 2)) - if ((HN <= 0)); then + if ((HN < 0)); then HN=0 log e "Beginning of history." return 1 -- cgit 1.4.1-21-gabe81