http://bugs.winehq.org/show_bug.cgi?id=12838
--- Comment #18 from Wolfram Sang wolfram@the-dreams.de 2010-05-19 20:06:23 --- So, to sum it up in my own words:
What WINE does:
- During PROFILE_Load, the complete ini-file is parsed to an internal structure. - the entry is added to the internal structure - During PROFILE_Save, the complete ini-file is rewritten from scratch according to the internal structure.
That means in this case, a number of entries are dropped as WINE couldn't parse them when loading. Also, they might get modified (removing unnecessary spaces).
What Windows seems to do:
- look for the entry in the file, ignoring everything else - update or append the entry - leave the rest as is
Correct? Hmm, that would need a bit of effort then :(