diff options
author | Samuel Mannehed <samuel@cendio.se> | 2020-06-04 13:22:51 +0200 |
---|---|---|
committer | Samuel Mannehed <samuel@cendio.se> | 2020-06-04 13:22:51 +0200 |
commit | 6bba1d0127aea1da836e0c038193191053307a75 (patch) | |
tree | c66cfe817b89e0c5129e46d28c2ab9e8686daf1d /vncviewer | |
parent | baae6518ef988b466373e366a7945f61df43c65d (diff) | |
download | tigervnc-6bba1d0127aea1da836e0c038193191053307a75.tar.gz tigervnc-6bba1d0127aea1da836e0c038193191053307a75.zip |
Add proper spacing to if statements
Diffstat (limited to 'vncviewer')
-rw-r--r-- | vncviewer/GestureHandler.cxx | 4 |
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; |