Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
audio/bambootracker: Fix build with clang15
Notified by: pkg-fallout
- Loading branch information
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
audio/bambootracker/files/patch-BambooTracker_gui_order__list__editor_order__list__panel.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- BambooTracker/gui/order_list_editor/order_list_panel.cpp.orig 2023-02-04 06:49:52 UTC | ||
+++ BambooTracker/gui/order_list_editor/order_list_panel.cpp | ||
@@ -709,9 +709,8 @@ void OrderListPanel::drawBorders(int maxWidth) | ||
QPainter painter(&backPixmap_); | ||
painter.setPen(palette_->odrBorderColor); | ||
painter.drawLine(rowNumWidth_, 0, rowNumWidth_, backPixmap_.height()); | ||
- for (int x = rowNumWidth_ + trackWidth_, trackVisIdx = leftTrackVisIdx_; x <= maxWidth; ++trackVisIdx) { | ||
+ for (int x = rowNumWidth_ + trackWidth_; x <= maxWidth; x += trackWidth_) { | ||
painter.drawLine(x, 0, x, backPixmap_.height()); | ||
- x += trackWidth_; | ||
} | ||
} | ||
|