aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Elmes <emms@repose.cx>2006-06-16 11:02:00 +0000
committerDamien Elmes <emms@repose.cx>2006-06-16 11:02:00 +0000
commit81ada156e698dd8f748a93ac0161f7899ca844fe (patch)
tree492ca443943ff3a7ccf5a21deda192118c09d568
parent5d67351b36d4050677e3d5cba35c298c18690bc0 (diff)
browser: fix sorting on tracks without a track number
darcs-hash:20060616110222-4e3e3-616f148328a86000b55e03b878436a77b62013d4.gz
-rw-r--r--emms-browser.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/emms-browser.el b/emms-browser.el
index ec41ec8..f1b7a25 100644
--- a/emms-browser.el
+++ b/emms-browser.el
@@ -338,9 +338,7 @@ example function is `emms-browse-by-artist'."
(defun emms-browser-render-hash (db type)
"Render a mapping (DB) into a browser buffer."
(maphash (lambda (desc data)
- ;; reverse the entries so that unsorted tracks are displayed in
- ;; ascending order
- (emms-browser-insert-top-level-entry desc (nreverse data) type))
+ (emms-browser-insert-top-level-entry desc data type))
db)
(emms-with-inhibit-read-only-t
(let ((sort-fold-case t))