[PATCH] reg.exe: Modernise print functions

Hugh McMaster hugh.mcmaster at outlook.com
Mon Nov 10 06:44:36 CST 2014


On Monday, 10 Nov 2014 13:17:56 +0100, Jonathan Vollebregt wrote:
> That was my thought, but it doesn't appear to be parsing printf
> parameters properly:
>
> Sticking this in main:
>
>> static const WCHAR testW[] = {'w','0','o','t','\n','%','s','\n',0};
>> reg_printfW(testW, deleteW);
>
> Results in the output:
>
>> w0ot
>> s

At a quick glance, %s should be %1. FormatMessage() accepts numerals.
 		 	   		  


More information about the wine-devel mailing list