Comment 5 for bug 1101541

Revision history for this message
MC Return (mc-return) wrote : Re: Coverity DIVIDE_BY_ZERO - CID 12435 - plugins/cube/src/cube.cpp - in function: PrivateCubeScreen::updateGeometry(int, int) - Several division by expression "sides" which may be zero has undefined behavior. Note: screen->vpSize ().width () will always return a value >= 1.

The branch linked fixes this bug.
I guess we can live with this minor speed reduction of the condition check :)