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;