shell32: SHChangeNotify is really Unicode/ANSI indifferent

Francois Gouget fgouget at free.fr
Mon Jan 20 15:38:01 CST 2003


On Mon, 20 Jan 2003, Robert Shearman wrote:
[...]
> > +	else if (uFlags & (SHCNF_PRINTERW || SHCNF_PRINTERW)
>
> There seems to be something strange with the line above (SHCNF_PRINTERW ||
> SHCNF_PRINTERW) == SHCNF_PRINTERW. Should this be (SHCNF_PRINTERW ||
> SHCNF_PRINTERA) by any chance?

And probably '||' should be a '|':

else if (uFlags & (SHCNF_PRINTERA | SHCNF_PRINTERW) ==
                  (SHCNF_PRINTERA | SHCNF_PRINTERW))


-- 
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
            Before you criticize someone, walk a mile in his shoes.
       That way, if he gets angry, he'll be a mile away - and barefoot.




More information about the wine-devel mailing list