aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/GestureHandler.cxx
diff options
context:
space:
mode:
authorSamuel Mannehed <samuel@cendio.se>2020-06-05 15:47:56 +0200
committerSamuel Mannehed <samuel@cendio.se>2020-06-05 15:47:56 +0200
commit7f76b7f1bc574cbf002bce3148c70f950e33c2f5 (patch)
tree5ad21af5bbfa79b8548e5b1ca2b423c58c1e441d /vncviewer/GestureHandler.cxx
parent56f9022a822ae99a76489bb9370ce692acfb5526 (diff)
downloadtigervnc-7f76b7f1bc574cbf002bce3148c70f950e33c2f5.tar.gz
tigervnc-7f76b7f1bc574cbf002bce3148c70f950e33c2f5.zip
Fix typos in comments
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 8fe62baf..c3cc1531 100644
--- a/vncviewer/GestureHandler.cxx
+++ b/vncviewer/GestureHandler.cxx
@@ -229,7 +229,7 @@ void GestureHandler::handleTouchEnd(int id)
state = GH_NOGESTURE;
}
- // Some gesture don't trigger until a touch is released
+ // Some gestures don't trigger until a touch is released
if (!hasDetectedGesture()) {
// Can't be a gesture that relies on movement
state &= ~(GH_DRAG | GH_TWODRAG | GH_PINCH);
@@ -256,7 +256,7 @@ void GestureHandler::handleTouchEnd(int id)
// Waiting for all touches to release? (i.e. some tap)
if (waitingRelease) {
- // Were all touches release roughly the same time?
+ // Were all touches released at roughly the same time?
if (rfb::msSince(&releaseStart) > GH_MULTITOUCH_TIMEOUT)
state = GH_NOGESTURE;