3 Nov
2008
3 Nov
'08
10:15 a.m.
Andrey Turkin <andrey.turkin(a)gmail.com> writes:
+ if (TargetInformation->TargetName) + { + TargetInformationW->TargetName = buffer; + buffer += MultiByteToWideChar(CP_ACP, 0, TargetInformation->TargetName, -1, + TargetInformationW->TargetName, -1);
You need to pass the correct destination length, not -1. -- Alexandre Julliard julliard(a)winehq.org