1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 20:06:18 +00:00

Avoid calling the exception handler in some cases.

This commit is contained in:
Juergen Schmied 2000-06-24 13:33:26 +00:00 committed by Alexandre Julliard
parent 1dbf403db4
commit 2352cf79ce

View File

@ -214,7 +214,8 @@ SNOOP_PrintArg(DWORD x) {
if ( !HIWORD(x) ||
!VirtualQuery((LPVOID)x,&mbi,sizeof(mbi)) ||
!mbi.Type
!mbi.Type ||
(mbi.Protect == PAGE_NOACCESS)
) {
sprintf(buf,"%08lx",x);
return buf;