aports/community/logstalgia/gcc6-fix.patch
2016-08-29 06:54:20 +00:00

12 lines
367 B
Diff

--- ./src/paddle.cpp.orig
+++ ./src/paddle.cpp
@@ -95,7 +95,7 @@
bool Paddle::mouseOver(TextArea& textarea, vec2& mouse) {
- if(pos.x <= mouse.x && pos.x + width >= mouse.x && abs(pos.y - mouse.y) < height/2) {
+ if(pos.x <= mouse.x && pos.x + width >= mouse.x && abs(int(pos.y) - int(mouse.y)) < height/2) {
std::vector<std::string> content;