shell32: Unicode'ify ISFHelper interface
Michael Jung
mjung at iss.tu-darmstadt.de
Sun Mar 5 06:27:21 CST 2006
Hey Vitaliy,
thanks for the comments. I've sent an updated version.
On Saturday 04 March 2006 20:26, Vitaliy Margolen wrote:
> Here
> > +++ b/dlls/shell32/shfldr_fs.c
> > + if (uLen < lstrlenW (wszNewFolder) + 4)
> and here
> > +++ b/dlls/shell32/shfldr_unixfs.c
> > + if (uLen < sizeof(wszNewFolder)/sizeof(WCHAR)+3)
> Why 4 in one place and 3 in the other?
That's because the sizeof expression counts the terminating zero, while strlen
does'nt.
Bye,
--
Michael Jung
mjung at iss.tu-darmstadt.de
More information about the wine-devel
mailing list