aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Elmes <emms@repose.cx>2006-06-15 02:36:00 +0000
committerDamien Elmes <emms@repose.cx>2006-06-15 02:36:00 +0000
commit181d7555612d78edaa78693fc10a9483731e4549 (patch)
tree599aabbd7f4e224af3a954df47741b074db0687b
parent755ea4ee927779f9c7912d74b94e821c4ee1a3ee (diff)
browser: handle nil track numbers
darcs-hash:20060615023650-4e3e3-1339418ceb7187db50d61db622d7f3d69420dd8e.gz
-rw-r--r--emms-browser.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emms-browser.el b/emms-browser.el
index 1afb062..6575e5f 100644
--- a/emms-browser.el
+++ b/emms-browser.el
@@ -430,7 +430,7 @@ Apart from tracks, names are displayed without modification."
"Concat a track number to the name of track, if one exists."
(let ((tracknum (emms-track-get track 'info-tracknumber)))
(concat
- (if (string= tracknum "0")
+ (if (or (not (stringp tracknum) (string= tracknum "0")))
""
(concat
(if (eq (length tracknum) 1)