summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-10-18 22:20:50 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-10-18 22:20:50 +0200
commit396fd8bb8130e8d1c882bcc53a604ea6e7b026d6 (patch)
treedc268730f52de4ba8ec378d848ebfed949f350d5
parent0297d897f168a185394ef28fc39ca846b22d561a (diff)
fixed bug in columnheader config parser preventing to use id=-1
-rw-r--r--gtkplaylist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtkplaylist.c b/gtkplaylist.c
index 66c6f23d..5b890551 100644
--- a/gtkplaylist.c
+++ b/gtkplaylist.c
@@ -1677,7 +1677,7 @@ gtkpl_append_column_from_textdef (gtkplaylist_t *pl, const uint8_t *def) {
}
// id
e = def;
- while (*e && isdigit (*e)) {
+ while (*e && (isdigit (*e) || *e == '-')) {
e++;
}
if (*e == 0) {