Fixed some debug message crashes.
This commit is contained in:
parent
5e6d062378
commit
422a10a571
|
@ -904,7 +904,7 @@ DWORD WINAPI GetShortPathNameA( LPCSTR longpath, LPSTR shortpath,
|
|||
int tmplen, drive;
|
||||
UINT flags;
|
||||
|
||||
TRACE("%s\n", longpath);
|
||||
TRACE("%s\n", debugstr_a(longpath));
|
||||
|
||||
if (!longpath) {
|
||||
SetLastError(ERROR_INVALID_PARAMETER);
|
||||
|
@ -964,7 +964,7 @@ DWORD WINAPI GetShortPathNameA( LPCSTR longpath, LPSTR shortpath,
|
|||
}
|
||||
|
||||
lstrcpynA ( shortpath, tmpshortpath, shortlen );
|
||||
TRACE("returning %s\n", shortpath );
|
||||
TRACE("returning %s\n", debugstr_a(shortpath) );
|
||||
tmplen = lstrlenA ( tmpshortpath );
|
||||
HeapFree ( GetProcessHeap(), 0, tmpshortpath );
|
||||
|
||||
|
|
11
win32/init.c
11
win32/init.c
|
@ -32,11 +32,12 @@ VOID WINAPI GetStartupInfoA(LPSTARTUPINFOA lpStartupInfo)
|
|||
"\tlpReserverd: %s, lpDesktop: %s, lpTitle: %s\n"
|
||||
"\tdwX: %ld, dwY: %ld, dwXSize: %ld, dwYSize: %ld\n"
|
||||
"\tdwFlags: %lx, wShowWindow: %x\n", lpStartupInfo->cb,
|
||||
lpStartupInfo->lpReserved, lpStartupInfo->lpDesktop,
|
||||
lpStartupInfo->lpTitle, lpStartupInfo->dwX,
|
||||
lpStartupInfo->dwY, lpStartupInfo->dwXSize,
|
||||
lpStartupInfo->dwYSize, lpStartupInfo->dwFlags,
|
||||
lpStartupInfo->wShowWindow );
|
||||
debugstr_a(lpStartupInfo->lpReserved),
|
||||
debugstr_a(lpStartupInfo->lpDesktop),
|
||||
debugstr_a(lpStartupInfo->lpTitle),
|
||||
lpStartupInfo->dwX, lpStartupInfo->dwY,
|
||||
lpStartupInfo->dwXSize, lpStartupInfo->dwYSize,
|
||||
lpStartupInfo->dwFlags, lpStartupInfo->wShowWindow );
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
|
|
Loading…
Reference in New Issue