diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2015-09-25 17:44:58 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2015-09-25 17:52:33 +0200 |
commit | 9dbd0f308b10f6a2982e72f25b0d26c951f5e87f (patch) | |
tree | 419e6f5d29449478ea869298c94fae66f6f458e1 /src/ui_dispatch.h | |
parent | 77ffe368e9b5045a801360c563623d5bc1c78771 (diff) | |
download | pianobar-9dbd0f308b10f6a2982e72f25b0d26c951f5e87f.tar.gz pianobar-9dbd0f308b10f6a2982e72f25b0d26c951f5e87f.tar.bz2 pianobar-9dbd0f308b10f6a2982e72f25b0d26c951f5e87f.zip |
settings: Fix config file parser
scanf’s %s matches non-whitespace characters only and thus ‘# foo = bar’
is parsed as ‘foo’, ‘bar’ and not ‘# foo’, ‘bar’ (as expected). Thus
comments did not work if they a) started with a valid key and b) had a
space between hash-sign and key.
Fixes issue #526.
Diffstat (limited to 'src/ui_dispatch.h')
0 files changed, 0 insertions, 0 deletions