Get rid of W->A calls: LoadImageW

Patrik Stridvall ps at
Tue Nov 19 15:45:56 CST 2002

> > Index: wine/windows/cursoricon.c
> > -        if (!screen_dc) screen_dc = CreateDCA( "DISPLAY", 
> > +        if (!screen_dc) screen_dc = CreateDCW( DISPLAYW, 
> I don't see the point of this at all.  Why does it matter that we're
> calling CreateDCA here? it's not as if we're losing information by
> converting a Unicode to an Ascii string.

Policy reason:
"No Unicode function should call an ASCII function
if a Unicode variant of that function exists."

But sure semantically speaking it might not make 
any difference in this case.

More information about the wine-devel mailing list