resend: patch: shell32.dll - SHELL_ArgifyW expands env-vars

Jens Collin jens.collin at lakhei.com
Sat Sep 11 12:42:32 CDT 2004


Hi Alexandre,

thanks for taking the time to review the patch.
I'm very new to working with multibyte charsets overall, so I'd be happy
if you could complete this or hint me what to change.

Thanks in advance,
Jens 

-----Original Message-----
From: wine-devel-admin at winehq.org [mailto:wine-devel-admin at winehq.org]
On Behalf Of Alexandre Julliard
Sent: den 10 september 2004 22:22
To: Jens Collin
Cc: wine-devel at winehq.org
Subject: Re: resend: patch: shell32.dll - SHELL_ArgifyW expands env-vars


"Jens Collin" <jens.collin at lakhei.com> writes:

> +			{
> +				TRACE("The env. var can't be found or is
bigger than MAX_PATH => useless.");
> +				res += sprintfW(res, L"%s%%",
tmpBuffer);

You cannot use Unicode strings constants in Wine, they don't have the
right size.

-- 
Alexandre Julliard
julliard at winehq.org





More information about the wine-devel mailing list