emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/hyperdrive 2f4104daae: Fix: (h/history-pp) If file is empt


From: ELPA Syncer
Subject: [nongnu] elpa/hyperdrive 2f4104daae: Fix: (h/history-pp) If file is empty, use h/size-fully-downloaded
Date: Sat, 7 Dec 2024 01:00:13 -0500 (EST)

branch: elpa/hyperdrive
commit 2f4104daae6a99cfe22178dd3e574b7bcd27b94c
Author: Joseph Turner <joseph@ushin.org>
Commit: Joseph Turner <joseph@ushin.org>

    Fix: (h/history-pp) If file is empty, use h/size-fully-downloaded
---
 hyperdrive-history.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hyperdrive-history.el b/hyperdrive-history.el
index a66ca568ae..11aef52a35 100644
--- a/hyperdrive-history.el
+++ b/hyperdrive-history.el
@@ -157,8 +157,8 @@ To be used as the pretty-printer for `ewoc-create'."
       (propertize (or size "")
                   'face (and block-length-downloaded block-length
                              (pcase block-length-downloaded
-                               (0 'h/size-not-downloaded)
                                ((pred (= block-length)) 
'h/size-fully-downloaded)
+                               (0 'h/size-not-downloaded)
                                (_ 'h/size-partially-downloaded)))
                   'help-echo (format "%s of %s blocks downloaded"
                                      block-length-downloaded block-length))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]