aboutsummaryrefslogtreecommitdiffstats
path: root/community/logstalgia/gcc6-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/logstalgia/gcc6-fix.patch')
-rw-r--r--community/logstalgia/gcc6-fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/logstalgia/gcc6-fix.patch b/community/logstalgia/gcc6-fix.patch
new file mode 100644
index 0000000000..1033af44a9
--- /dev/null
+++ b/community/logstalgia/gcc6-fix.patch
@@ -0,0 +1,11 @@
+--- ./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;
+