diff --git a/src/analyzer/blockanalyzer.cpp b/src/analyzer/blockanalyzer.cpp index 329bf806..2d18b31b 100644 --- a/src/analyzer/blockanalyzer.cpp +++ b/src/analyzer/blockanalyzer.cpp @@ -165,7 +165,7 @@ void BlockAnalyzer::analyze(QPainter &p, const Scope &s, bool new_frame) { for (int x = 0, y = 0; x < static_cast(scope_.size()); ++x) { // determine y - for (y = 0; scope_[x] < yscale_[y]; ++y) continue; + for (y = 0; scope_[x] < yscale_[y]; ++y); // This is opposite to what you'd think, higher than y means the bar is lower than y (physically) if (static_cast(y) > store_[x]) {