Skip to content
  • Stefan Brüns's avatar
    Simplify loop conditions · c900324b
    Stefan Brüns authored
    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.
    c900324b