18 May
2016
18 May
'16
12:06 p.m.
Gerald Pfeifer <gerald(a)pfeifer.com> writes:
wszDstPath is an array of WCHAR, which are wider than one byte, so this should have been (MAXPATH+1)*sizeof(WCHAR) -- or the more robust approach I here propose.
Actually there's no reason to initialize the entire buffer. -- Alexandre Julliard julliard(a)winehq.org