Make sure NC_HandleNCCalcSize returns a valid rectangle.
Painting fails if the rectangle is invalid.

1 file changed