Get rid of W->A calls: LoadImageW
Patrik Stridvall
ps at leissner.se
Tue Nov 19 15:45:56 CST 2002
> > Index: wine/windows/cursoricon.c
[snip]
> > - if (!screen_dc) screen_dc = CreateDCA( "DISPLAY",
> NULL, NULL, NULL );
> > + if (!screen_dc) screen_dc = CreateDCW( DISPLAYW,
[snip]
> 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