spelling fixes
diff --git a/BUILDING.txt b/BUILDING.txt
index 9987bd7..9449810 100644
--- a/BUILDING.txt
+++ b/BUILDING.txt
@@ -503,7 +503,7 @@
and releases can be found in the "contrib/rpm/el{5,6}" directories
of the TigerVNC subversion trunk. All external source tarballs
must be fetched manually and placed into the 'SOURCES' directory
-under the rpmbuild root. Additonally, the following macros need
+under the rpmbuild root. Additionally, the following macros need
to be defined:
EL6:
diff --git a/cmake/Modules/CMakeMacroLibtoolFile.cmake b/cmake/Modules/CMakeMacroLibtoolFile.cmake
index 1d8b8fc..c882c4a 100644
--- a/cmake/Modules/CMakeMacroLibtoolFile.cmake
+++ b/cmake/Modules/CMakeMacroLibtoolFile.cmake
@@ -89,7 +89,7 @@
endif()
else()
# Detected a static library. Check whether the library pathname is
- # absolute and, if not, use find_library() to get the abolute path.
+ # absolute and, if not, use find_library() to get the absolute path.
get_filename_component(_name ${library} NAME)
string(REPLACE "${_name}" "" _path ${library})
if(NOT "${_path}" STREQUAL "")
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.
diff --git a/tests/results/multicore/README b/tests/results/multicore/README
index ffeca4e..c93b2d7 100644
--- a/tests/results/multicore/README
+++ b/tests/results/multicore/README
@@ -34,7 +34,7 @@
point and tracing doesn't reveal anything obvious. It may be because it
is not a true quad core system, but rather uses HyperThreading.
-So in summary, the new code can do a noticable improvement on decoding
+So in summary, the new code can do a noticeable improvement on decoding
time. However it does so at a cost of efficiency. Four times the CPUs
only gives you about twice the performance. More improvements may be
possible.
diff --git a/unix/tx/TXDialog.h b/unix/tx/TXDialog.h
index c8d601c..7a52f92 100644
--- a/unix/tx/TXDialog.h
+++ b/unix/tx/TXDialog.h
@@ -78,7 +78,7 @@
// to make sure that checkboxes have the right state, etc.
virtual void initDialog() {}
- // resize() is overidden here to re-center the dialog
+ // resize() is overridden here to re-center the dialog
void resize(int w, int h) {
TXWindow::resize(w,h);
int dpyWidth = WidthOfScreen(DefaultScreenOfDisplay(dpy));
diff --git a/unix/x0vncserver/TimeMillis.h b/unix/x0vncserver/TimeMillis.h
index e79db12..115ce08 100644
--- a/unix/x0vncserver/TimeMillis.h
+++ b/unix/x0vncserver/TimeMillis.h
@@ -31,7 +31,7 @@
TimeMillis();
- // Set this object to current time, returns true on sucess.
+ // Set this object to current time, returns true on success.
bool update();
// Return difference in milliseconds between two time points.
diff --git a/unix/xserver/hw/vnc/Input.c b/unix/xserver/hw/vnc/Input.c
index 64305cb..33e8604 100644
--- a/unix/xserver/hw/vnc/Input.c
+++ b/unix/xserver/hw/vnc/Input.c
@@ -74,7 +74,7 @@
/*
* Init input device.
* This has to be called after core pointer/keyboard
- * initialization which unfortunately is after extesions
+ * initialization which unfortunately is after extensions
* initialization (which means we cannot call it in
* vncExtensionInit(). Check InitExtensions(),
* InitCoreDevices() and InitInput() calls in dix/main.c.
diff --git a/win/rfb_win32/LaunchProcess.h b/win/rfb_win32/LaunchProcess.h
index 38521dc..7321378 100644
--- a/win/rfb_win32/LaunchProcess.h
+++ b/win/rfb_win32/LaunchProcess.h
@@ -44,7 +44,7 @@
// as an extra flag to the process creation call.
void start(HANDLE userToken, bool createConsole=false);
- // Detatch from the child process. After detatching from a child
+ // Detach from the child process. After detaching from a child
// process, no other methods should be called on the object
// that started it
void detach();
diff --git a/win/rfb_win32/keymap.h b/win/rfb_win32/keymap.h
index a340d09..664312a 100644
--- a/win/rfb_win32/keymap.h
+++ b/win/rfb_win32/keymap.h
@@ -62,7 +62,7 @@
{ XK_Help, VK_HELP, 0 },
{ XK_Break, VK_CANCEL, 1 },
- // Auxilliary Functions - must come before XK_KP_F1, etc
+ // Auxiliary Functions - must come before XK_KP_F1, etc
{ XK_F1, VK_F1, 0 },
{ XK_F2, VK_F2, 0 },
diff --git a/win/winvnc/VNCServerWin32.h b/win/winvnc/VNCServerWin32.h
index 225e634..f384bbe 100644
--- a/win/winvnc/VNCServerWin32.h
+++ b/win/winvnc/VNCServerWin32.h
@@ -91,7 +91,7 @@
virtual void processAddressChange();
// RegConfig::Callback interface
- // Called via the EventManager whenver RegConfig sees the registry change
+ // Called via the EventManager whenever RegConfig sees the registry change
virtual void regConfigChanged();
// EventHandler interface