Skip to content
Commit c900324b authored by Stefan Brüns's avatar Stefan Brüns
Browse files

Simplify loop conditions

Replace the `yPos <= maxYPos)` check in the inner loop with an more
explicit check whenever a thumnail is drawn.

`(yPos <= maxYPos) && !validThumbnails)` is redundant, as yPos is only
incremented whenever validThumbnails is incremented. Move the
validThumbnails check into the loop.
parent 78a8c7d3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment