diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2009-10-18 22:20:50 +0200 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2009-10-18 22:20:50 +0200 |
commit | 396fd8bb8130e8d1c882bcc53a604ea6e7b026d6 (patch) | |
tree | dc268730f52de4ba8ec378d848ebfed949f350d5 | |
parent | 0297d897f168a185394ef28fc39ca846b22d561a (diff) |
fixed bug in columnheader config parser preventing to use id=-1
-rw-r--r-- | gtkplaylist.c | 2 |
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) { |