Skip to content

Commit

Permalink
Remove silly casts.
Browse files Browse the repository at this point in the history
  • Loading branch information
gijsbers committed Nov 10, 2024
1 parent ae2efc3 commit 9fa96c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/yscrollview.cc
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ void YScrollView::configure(const YRect2& r) {
}

bool YScrollView::handleScrollKeys(const XKeyEvent& key) {
return int(scrollVert->handleScrollKeys(key))
| int(scrollHoriz->handleScrollKeys(key));
return scrollVert->handleScrollKeys(key)
|| scrollHoriz->handleScrollKeys(key);
}

void YScrollView::handleExpose(const XExposeEvent& expose) {
Expand Down

0 comments on commit 9fa96c8

Please sign in to comment.