Fix [ 583477 ] wrong dest size.

Note this code is not used by the core on Win32, but in a block used only
by Windows CE.
This commit is contained in:
Mark Hammond 2003-01-29 22:38:29 +00:00
parent ba884f3d22
commit 61bb35f440
1 changed files with 1 additions and 1 deletions

View File

@ -321,7 +321,7 @@ getpythonregpath(HKEY keyBase, int skipcore)
if (retval)
WideCharToMultiByte(CP_ACP, 0,
dataBuf, -1, /* source */
retval, dataSize+1, /* dest */
retval, reqdSize+1, /* dest */
NULL, NULL);
free(dataBuf);
#else