spelling fixes
diff --git a/common/Xregion/Region.c b/common/Xregion/Region.c
index 5209443..1acf581 100644
--- a/common/Xregion/Region.c
+++ b/common/Xregion/Region.c
@@ -1310,7 +1310,7 @@
 	else if (r2->x1 <= x1)
 	{
 	    /*
-	     * Subtrahend preceeds minuend: nuke left edge of minuend.
+	     * Subtrahend preceds minuend: nuke left edge of minuend.
 	     */
 	    x1 = r2->x2;
 	    if (x1 >= r1->x2)
diff --git a/common/rfb/Encoder.h b/common/rfb/Encoder.h
index 62cb6eb..a8a447e 100644
--- a/common/rfb/Encoder.h
+++ b/common/rfb/Encoder.h
@@ -43,7 +43,7 @@
             enum EncoderFlags flags, unsigned int maxPaletteSize);
     virtual ~Encoder();
 
-    // isSupported() should return a boolean indiciating if this encoder
+    // isSupported() should return a boolean indicating if this encoder
     // is okay to use with the current connection. This usually involves
     // checking the list of encodings in the connection parameters.
     virtual bool isSupported()=0;
diff --git a/common/rfb/JpegCompressor.cxx b/common/rfb/JpegCompressor.cxx
index c8bf841..27cb9de 100644
--- a/common/rfb/JpegCompressor.cxx
+++ b/common/rfb/JpegCompressor.cxx
@@ -42,7 +42,7 @@
 static const PixelFormat pfXBGR(32, 24, false, true, 255, 255, 255, 24, 16, 8);
 
 //
-// Error manager implmentation for the JPEG library
+// Error manager implementation for the JPEG library
 //
 
 struct JPEG_ERROR_MGR {
diff --git a/common/rfb/JpegDecompressor.cxx b/common/rfb/JpegDecompressor.cxx
index 70a4276..4f94faa 100644
--- a/common/rfb/JpegDecompressor.cxx
+++ b/common/rfb/JpegDecompressor.cxx
@@ -43,7 +43,7 @@
 static const PixelFormat pfXBGR(32, 24, false, true, 255, 255, 255, 24, 16, 8);
 
 //
-// Error manager implmentation for the JPEG library
+// Error manager implementation for the JPEG library
 //
 
 struct JPEG_ERROR_MGR {
diff --git a/common/rfb/VNCSConnectionST.cxx b/common/rfb/VNCSConnectionST.cxx
index 97f7d28..74c40d1 100644
--- a/common/rfb/VNCSConnectionST.cxx
+++ b/common/rfb/VNCSConnectionST.cxx
@@ -51,7 +51,7 @@
 static const unsigned INITIAL_WINDOW = 16384;
 
 // TCP's minimal window is 3*MSS. But since we don't know the MSS, we
-// make a guess at 4 KiB (it's probaly a bit higher).
+// make a guess at 4 KiB (it's probably a bit higher).
 static const unsigned MINIMUM_WINDOW = 4096;
 
 // The current default maximum window for Linux (4 MiB). Should be a good
@@ -821,7 +821,7 @@
   }
 
   // We only keep track of the minimum latency seen (for a given interval)
-  // on the basis that we want to avoid continous buffer issue, but don't
+  // on the basis that we want to avoid continuous buffer issue, but don't
   // mind (or even approve of) bursts.
   if (rtt < minRTT)
     minRTT = rtt;
diff --git a/common/rfb/XF86keysym.h b/common/rfb/XF86keysym.h
index fd3af4f..ff3dd4f 100644
--- a/common/rfb/XF86keysym.h
+++ b/common/rfb/XF86keysym.h
@@ -136,7 +136,7 @@
 #define XF86XK_LogOff		0x1008FF61   /* Log off system              */
 #define XF86XK_Market		0x1008FF62   /* ??                          */
 #define XF86XK_Meeting		0x1008FF63   /* enter meeting in calendar   */
-#define XF86XK_MenuKB		0x1008FF65   /* distingush keyboard from PB */
+#define XF86XK_MenuKB		0x1008FF65   /* distinguish keyboard from PB */
 #define XF86XK_MenuPB		0x1008FF66   /* distinuish PB from keyboard */
 #define XF86XK_MySites		0x1008FF67   /* Favourites                  */
 #define XF86XK_New		0x1008FF68   /* New (folder, document...    */
diff --git a/common/rfb/keysymdef.h b/common/rfb/keysymdef.h
index 979ebdd..a80f3f5 100644
--- a/common/rfb/keysymdef.h
+++ b/common/rfb/keysymdef.h
@@ -175,7 +175,7 @@
 
 
 /*
- * Auxilliary Functions; note the duplicate definitions for left and right
+ * Auxiliary Functions; note the duplicate definitions for left and right
  * function keys;  Sun keyboards and a few other manufactures have such
  * function key groups on the left and/or right sides of the keyboard.
  * We've not found a keyboard with more than 35 function keys total.