#8287 closed patch
Hack for config manager glitch
Reported by: | eriktorbjorn | Owned by: | fingolfin |
---|---|---|---|
Priority: | normal | Component: | --Other-- |
Version: | Keywords: | ||
Cc: | Game: |
Description
The new config manager tries to parse blank lines as key/value pairs. Since my .scummvmrc begins like this
# Global settings
[scummvm] cdrom=-1 aspect_ratio=true
the parser chokes because "we have a key without a domain first". I don't want to change this part of the code (unless I absolutely have to) until I know it has settled down, but this patch should make it ignore empty lines completely.
Ticket imported from: #821018. Ticket imported from: patches/392.
Attachments (1)
Change History (5)
by , 21 years ago
Attachment: | config_fix.diff added |
---|
comment:1 by , 21 years ago
Owner: | set to |
---|
comment:2 by , 21 years ago
I put an alternative fix into CVS which ignores whitespaces at the line start for key/value pairs. This way one could use indention, if one wants to
[scummvm] cdrom=-1 aspect_ratio=true
comment:3 by , 21 years ago
Status: | new → closed |
---|
comment:4 by , 6 years ago
Component: | → --Other-- |
---|
Patch against an October 9 CVS snapshot