aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/GestureHandler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vncviewer/GestureHandler.cxx')
-rw-r--r--vncviewer/GestureHandler.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vncviewer/GestureHandler.cxx b/vncviewer/GestureHandler.cxx
index 3430b968..8fe62baf 100644
--- a/vncviewer/GestureHandler.cxx
+++ b/vncviewer/GestureHandler.cxx
@@ -192,7 +192,7 @@ void GestureHandler::handleTouchUpdate(int id, double x, double y)
if (twoTouchTimer.isStarted())
twoTouchTimer.stop();
- } else if(!twoTouchTimer.isStarted()) {
+ } else if (!twoTouchTimer.isStarted()) {
// We can't determine the gesture right now, let's
// wait and see if more events are on their way
twoTouchTimer.start(GH_TWOTOUCH_TIMEOUT);
@@ -213,7 +213,7 @@ void GestureHandler::handleTouchEnd(int id)
std::map<int, GHTouch>::const_iterator iter;
// Check if this is an ignored touch
- if(ignored.count(id)) {
+ if (ignored.count(id)) {
ignored.erase(id);
if (ignored.empty() && tracked.empty()) {
state = GH_INITSTATE;