aboutsummaryrefslogtreecommitdiff
path: root/backends/vkeybd/polygon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/vkeybd/polygon.cpp')
-rw-r--r--backends/vkeybd/polygon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/vkeybd/polygon.cpp b/backends/vkeybd/polygon.cpp
index ac42cb1d2e..08727a6fe8 100644
--- a/backends/vkeybd/polygon.cpp
+++ b/backends/vkeybd/polygon.cpp
@@ -42,7 +42,7 @@ bool Polygon::contains(int16 x, int16 y) const {
yflag1 = (vtx1->y >= y);
if (yflag0 != yflag1) {
if (((vtx1->y - y) * (vtx0->x - vtx1->x) >=
- (vtx1->x - x) * (vtx0->y - vtx1->y)) == yflag1) {
+ (vtx1->x - x) * (vtx0->y - vtx1->y)) == yflag1) {
inside_flag = !inside_flag;
}
}