kernel32: GetPrivateProfileString should set buffer to "" if default value is not set

Christopher Smith cbsmith at gmail.com
Mon Jun 23 18:43:03 CDT 2008


This is a follow up to the previous patch which added the relevant check 
to our unit tests. GetPrivateProfileStrings should set lpReturnedString 
to "" if lpDefault isn't set and a key cannot be found. The existing 
code fails to set lpReturnedString[0] to NULL though it correctly 
returns 0. This patch corrects this behavior and removes the todo_wine 
from the relevant check in the unit tests.

--Chris
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: part2_patch.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20080623/2cebf750/attachment.txt 


More information about the wine-patches mailing list