Fixed missing argument checks.
This commit is contained in:
parent
ac1d6e8153
commit
e23af1d2fc
@ -195,6 +195,10 @@ void xf_rail_invalidate_region(xfContext* xfc, REGION16* invalidRegion)
|
||||
xfAppWindow* appWindow;
|
||||
const RECTANGLE_16* extents;
|
||||
REGION16 windowInvalidRegion;
|
||||
|
||||
if (!xfc || !xfc->rail || !xfc->railWindows)
|
||||
return;
|
||||
|
||||
region16_init(&windowInvalidRegion);
|
||||
count = HashTable_GetKeys(xfc->railWindows, &pKeys);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user