FW: shell32: SHChangeNotify is really Unicode/ANSI indifferent, take2

Francois Gouget fgouget at free.fr
Mon Jan 20 18:19:08 CST 2003


On Tue, 21 Jan 2003, Rolf Kalbermatter wrote:
[...]
> @@ -289,22 +257,11 @@
>  	LeaveCriticalSection(&SHELL32_ChangenotifyCS);
>
>  	/* if we allocated it, free it */
> -	if(uFlags & SHCNF_PATHA)
> +	if (uFlags & SHCNF_PATHA || uFlags & SHCNF_PATHW)
>  	{

Just nitpicking (since Dimitrie is on vacation ;-): it's probably not
necessary but I would be more confortable if the above test had more
parentheses:

> +     if ((uFlags & SHCNF_PATHA) || (uFlags & SHCNF_PATHW))


-- 
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
                              145 = 1! + 4! + 5!





More information about the wine-devel mailing list