Browse Source

Add proper spacing to if statements

tags/v1.10.90
Samuel Mannehed 4 years ago
parent
commit
6bba1d0127
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      vncviewer/GestureHandler.cxx

+ 2
- 2
vncviewer/GestureHandler.cxx View File

@@ -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;

Loading…
Cancel
Save