Author: jimtabor
Date: Tue Dec 4 05:52:46 2007
New Revision: 30993
URL:
http://svn.reactos.org/svn/reactos?rev=30993&view=rev
Log:
Fix zero bug.
Modified:
trunk/reactos/dll/win32/gdi32/misc/misc.c
Modified: trunk/reactos/dll/win32/gdi32/misc/misc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/misc/misc.…
==============================================================================
--- trunk/reactos/dll/win32/gdi32/misc/misc.c (original)
+++ trunk/reactos/dll/win32/gdi32/misc/misc.c Tue Dec 4 05:52:46 2007
@@ -141,6 +141,8 @@
}
_SEH_END
}
+ else
+ Result = FALSE; // Can not be zero.
if (Result) *UserData = Entry->UserData;
return Result;
}