Commit da463344 authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

Add comment about left side condition is always false

parent a7aa0470
Pipeline #116484 passed with stage
in 1 minute and 53 seconds
......@@ -284,6 +284,8 @@ void FilterChain::paint(TerminalDisplay *td, QPainter &painter)
// occupied on this line rather than the width of the
// display in _columns
// FIXME: the left side condition is always false due to the
// endColumn assignment above
// Check image size so _image[] is valid (see makeImage)
if (endColumn >= td->columns() || line >= td->lines()) {
Supports Markdown
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