Fix Win16 GetPrivateProfileString regression

Richard Cohen richard at daijobu.co.uk
Mon Aug 1 08:36:34 CDT 2005


http://www.winehq.com/hypermail/wine-cvs/2005/03/0021.html

Rein Klazes <wijn at wanadoo.nl>
When enumerating keys using Get(Private)ProfileString do not include
lines without an '=' character. Added a test that shows the behavior.

caused a regression in 16bit installers using MSTEST.

MSTEST checks if a section exists by calling 
GetPrivateProfileString(section, NULL, ..., common.inf)
and none of the keys contains an =.

Richard.


Changelog
- Fix regression in GetPrivateProfileString16 for key=NULL.
- Check return values in Profile tests.







-------------- next part --------------
A non-text attachment was scrubbed...
Name: profile.diff
Type: text/x-patch
Size: 5840 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050801/beff49cc/profile.bin


More information about the wine-patches mailing list