summaryrefslogtreecommitdiffstats
path: root/client/x11
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-05-21 10:51:03 +0200
committerAlexander Larsson <alexl@redhat.com>2010-05-21 10:51:28 +0200
commit012bd2577975b902aa5ce0cdd0eb43ef57c948fb (patch)
tree1dc3de75ad4c173d2de3f60cb0c9d78bf4517542 /client/x11
parentd351bb35ce981d39e839528f4a23bc5b501adab8 (diff)
downloadspice-012bd2577975b902aa5ce0cdd0eb43ef57c948fb.tar.gz
spice-012bd2577975b902aa5ce0cdd0eb43ef57c948fb.tar.xz
spice-012bd2577975b902aa5ce0cdd0eb43ef57c948fb.zip
Fix spelling errors in comments and strings
Diffstat (limited to 'client/x11')
-rw-r--r--client/x11/main.cpp4
-rw-r--r--client/x11/named_pipe.cpp2
-rw-r--r--client/x11/platform.cpp6
-rw-r--r--client/x11/red_window.cpp2
4 files changed, 7 insertions, 7 deletions
diff --git a/client/x11/main.cpp b/client/x11/main.cpp
index 3ee64285..1b9bb893 100644
--- a/client/x11/main.cpp
+++ b/client/x11/main.cpp
@@ -35,10 +35,10 @@ int main(int argc, char** argv)
exit_val = Application::main(argc, argv, version_str);
LOG_INFO("Spice client terminated (exitcode = %d)", exit_val);
} catch (Exception& e) {
- LOG_ERROR("unhandle exception: %s", e.what());
+ LOG_ERROR("unhandled exception: %s", e.what());
exit_val = e.get_error_code();
} catch (std::exception& e) {
- LOG_ERROR("unhandle exception: %s", e.what());
+ LOG_ERROR("unhandled exception: %s", e.what());
exit_val = SPICEC_ERROR_CODE_ERROR;
} catch (...) {
LOG_ERROR("unhandled exception");
diff --git a/client/x11/named_pipe.cpp b/client/x11/named_pipe.cpp
index 3043ba23..c6f38daa 100644
--- a/client/x11/named_pipe.cpp
+++ b/client/x11/named_pipe.cpp
@@ -75,7 +75,7 @@ int32_t Session::read(uint8_t *buf, int32_t size)
int now;
if ((now = recv(_fd_client, (char *)pos, size, 0)) <= 0) {
if (now == 0) {
- DBG(0, "read error, connetion shutdown");
+ DBG(0, "read error, connection shutdown");
return -1;
}
if (errno == EAGAIN) {
diff --git a/client/x11/platform.cpp b/client/x11/platform.cpp
index ea492edb..fecfb138 100644
--- a/client/x11/platform.cpp
+++ b/client/x11/platform.cpp
@@ -337,7 +337,7 @@ XIC XPlatform::get_input_context()
void XPlatform::set_win_proc(Window win, win_proc_t proc)
{
if (XSaveContext(x_display, win, win_proc_context, (XPointer)proc)) {
- THROW("set win proc pailed");
+ THROW("set win proc failed");
}
}
@@ -775,7 +775,7 @@ bool DynamicScreen::set_screen_size(int size_index)
XRRScreenConfiguration* config;
if (!(config = XRRGetScreenInfo(get_display(), root_window))) {
- LOG_WARN("get scren info failed");
+ LOG_WARN("get screen info failed");
return false;
}
Rotation rotation;
@@ -2592,7 +2592,7 @@ XLocalCursor::XLocalCursor(CursorData* cursor_data)
int size;
if (!get_size_bits(header, size)) {
- THROW("invalid curosr type");
+ THROW("invalid cursor type");
}
uint32_t* cur_data = new uint32_t[cur_size];
diff --git a/client/x11/red_window.cpp b/client/x11/red_window.cpp
index c9a16ec1..7e69b428 100644
--- a/client/x11/red_window.cpp
+++ b/client/x11/red_window.cpp
@@ -1875,7 +1875,7 @@ bool RedWindow::get_mouse_anchor_point(SpicePoint& pt)
while (!(vis_region = get_visibale_region(_win))) {
if (!vis_region_retries) {
- THROW("get visibale region failed");
+ THROW("get visible region failed");
}
--vis_region_retries;
usleep(X_RETRY_DELAY_MICRO);