diff options
author | 2010-10-30 13:17:33 +0200 | |
---|---|---|
committer | 2010-10-30 13:17:33 +0200 | |
commit | 1a738cde22e26a85caef127e55022755b23183b5 (patch) | |
tree | b5b52c8ab9e7a44d4251268239e0f74e84f65e38 /playlist.c | |
parent | 026ab2385c64837dc1c215efea8fb0f87ac2efb5 (diff) |
fixed skipping trailing whitespace in cuesheets
Diffstat (limited to 'playlist.c')
-rw-r--r-- | playlist.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -749,6 +749,9 @@ pl_get_value_from_cue (const char *p, int sz, char *out) { sz--; *out++ = *p++; } + while (out > p && (*(out-1) == 0x20 || *(out-1) == 0x8)) { + out--; + } *out = 0; } |