summaryrefslogtreecommitdiffstats
path: root/xrdp
diff options
context:
space:
mode:
authorPavel Roskin <prroskin@amazon.com>2016-01-14 16:32:09 +0000
committerPavel Roskin <plroskin@gmail.com>2016-01-14 08:47:50 -0800
commit964e860072cd4871481481d5b3ffa96abb1bac35 (patch)
tree10f00786ae0b59038feac3128ad073d248fbbd92 /xrdp
parent380c0cd2e77ece844691c3a67b17debb1f514fd5 (diff)
downloadxrdp-proprietary-964e860072cd4871481481d5b3ffa96abb1bac35.tar.gz
xrdp-proprietary-964e860072cd4871481481d5b3ffa96abb1bac35.zip
Run through codespell
Diffstat (limited to 'xrdp')
-rw-r--r--xrdp/lang.c2
-rw-r--r--xrdp/xrdp.c2
-rw-r--r--xrdp/xrdp_bitmap.c2
-rw-r--r--xrdp/xrdp_mm.c2
-rw-r--r--xrdp/xrdp_wm.c4
-rw-r--r--xrdp/xrdpwin.c8
6 files changed, 10 insertions, 10 deletions
diff --git a/xrdp/lang.c b/xrdp/lang.c
index de81c681..fa284112 100644
--- a/xrdp/lang.c
+++ b/xrdp/lang.c
@@ -263,7 +263,7 @@ get_keymaps(int keylayout, struct xrdp_keymap *keymap)
if (g_memcmp(lkeymap, keymap, sizeof(struct xrdp_keymap)) != 0)
{
log_message(LOG_LEVEL_WARNING,
- "local keymap file for 0x%4.4x found and dosen't match "
+ "local keymap file for 0x%4.4x found and doesn't match "
"built in keymap, using local keymap file", keylayout);
}
diff --git a/xrdp/xrdp.c b/xrdp/xrdp.c
index 11577cd6..690508cb 100644
--- a/xrdp/xrdp.c
+++ b/xrdp/xrdp.c
@@ -463,7 +463,7 @@ main(int argc, char **argv)
if (g_file_exist(pid_file)) /* xrdp.pid */
{
- g_writeln("It looks like xrdp is allready running,");
+ g_writeln("It looks like xrdp is already running,");
g_writeln("if not delete the xrdp.pid file and try again");
g_deinit();
g_exit(0);
diff --git a/xrdp/xrdp_bitmap.c b/xrdp/xrdp_bitmap.c
index aafc19f2..3fd0fbb7 100644
--- a/xrdp/xrdp_bitmap.c
+++ b/xrdp/xrdp_bitmap.c
@@ -165,7 +165,7 @@ xrdp_bitmap_create_with_data(int width, int height,
if (((bpp >= 24) && (data_as_int & 3)) ||
(((bpp == 15) || (bpp == 16)) && (data_as_int & 1)))
{
- /* got to copy data here, it's not alligned
+ /* got to copy data here, it's not aligned
other calls in this file assume alignment */
Bpp = 4;
switch (bpp)
diff --git a/xrdp/xrdp_mm.c b/xrdp/xrdp_mm.c
index cfee5ee8..48a0d628 100644
--- a/xrdp/xrdp_mm.c
+++ b/xrdp/xrdp_mm.c
@@ -1983,7 +1983,7 @@ xrdp_mm_connect(struct xrdp_mm *self)
if (xrdp_mm_setup_mod2(self) == 0)
{
xrdp_wm_set_login_mode(self->wm, 10);
- rv = 0; /*sucess*/
+ rv = 0; /*success*/
}
else
{
diff --git a/xrdp/xrdp_wm.c b/xrdp/xrdp_wm.c
index d71f5020..806a2532 100644
--- a/xrdp/xrdp_wm.c
+++ b/xrdp/xrdp_wm.c
@@ -1688,7 +1688,7 @@ xrdp_wm_process_channel_data(struct xrdp_wm *self,
}
/******************************************************************************/
-/* this is the callbacks comming from libxrdp.so */
+/* this is the callbacks coming from libxrdp.so */
int DEFAULT_CC
callback(long id, int msg, long param1, long param2, long param3, long param4)
{
@@ -1760,7 +1760,7 @@ xrdp_wm_login_mode_changed(struct xrdp_wm *self)
if (self->login_mode == 0)
{
- /* this is the inital state of the login window */
+ /* this is the initial state of the login window */
xrdp_wm_set_login_mode(self, 1); /* put the wm in login mode */
list_clear(self->log);
xrdp_wm_delete_all_childs(self);
diff --git a/xrdp/xrdpwin.c b/xrdp/xrdpwin.c
index ee78273b..f3ef1074 100644
--- a/xrdp/xrdpwin.c
+++ b/xrdp/xrdpwin.c
@@ -369,7 +369,7 @@ main(int argc, char **argv)
g_exit(0);
}
- /* check if service is allready installed */
+ /* check if service is already installed */
sc_ser = OpenService(sc_man, "xrdp", SERVICE_ALL_ACCESS);
if (sc_ser == 0)
@@ -383,7 +383,7 @@ main(int argc, char **argv)
}
else
{
- g_writeln("error service is allready installed");
+ g_writeln("error service is already installed");
CloseServiceHandle(sc_ser);
CloseServiceHandle(sc_man);
g_exit(0);
@@ -405,7 +405,7 @@ main(int argc, char **argv)
g_exit(0);
}
- /* check if service is allready installed */
+ /* check if service is already installed */
sc_ser = OpenService(sc_man, "xrdp", SERVICE_ALL_ACCESS);
if (sc_ser == 0)
@@ -540,7 +540,7 @@ main(int argc, char **argv)
if (g_file_exist(pid_file)) /* xrdp.pid */
{
- g_writeln("It looks like xrdp is allready running,");
+ g_writeln("It looks like xrdp is already running,");
g_writeln("if not delete the xrdp.pid file and try again");
g_exit(0);
}