diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2016-05-16 16:03:13 -0700 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2016-05-16 16:03:13 -0700 |
commit | dd906c3fc8d180771c4b4114cdf3d601f6993bf6 (patch) | |
tree | 87643bf707880c9ee4418903f276ac69bc5b5880 | |
parent | d27270ab1f79a4d6e6b3b5158b62b2e0cfc3da02 (diff) | |
download | xrdp-proprietary-dd906c3fc8d180771c4b4114cdf3d601f6993bf6.tar.gz xrdp-proprietary-dd906c3fc8d180771c4b4114cdf3d601f6993bf6.zip |
remove tabs
-rw-r--r-- | xrdp/xrdp_login_wnd.c | 2 | ||||
-rw-r--r-- | xrdp/xrdp_wm.c | 18 |
2 files changed, 10 insertions, 10 deletions
diff --git a/xrdp/xrdp_login_wnd.c b/xrdp/xrdp_login_wnd.c index 30951dc5..337ec236 100644 --- a/xrdp/xrdp_login_wnd.c +++ b/xrdp/xrdp_login_wnd.c @@ -668,7 +668,7 @@ xrdp_login_wnd_create(struct xrdp_wm *self) self->login_window->bg_color = globals->ls_bg_color; self->login_window->left = primaryxoffset - - self->login_window->width / 2; + self->login_window->width / 2; self->login_window->top = primaryyoffset - self->login_window->height / 2; diff --git a/xrdp/xrdp_wm.c b/xrdp/xrdp_wm.c index 9f85d0db..8ce18bb6 100644 --- a/xrdp/xrdp_wm.c +++ b/xrdp/xrdp_wm.c @@ -1919,15 +1919,15 @@ xrdp_wm_show_log(struct xrdp_wm *self) /* multimon scenario, draw log window on primary monitor */ if (self->client_info->monitorCount > 1) { - for (i = 0; i < self->client_info->monitorCount; ++i) - { - if (self->client_info->minfo[i].is_primary) - { - primaryxoffset = self->screen->width - self->client_info->minfo[i].right - 1; - primaryyoffset = self->screen->height - self->client_info->minfo[i].bottom - 1; - break; - } - } + for (i = 0; i < self->client_info->monitorCount; ++i) + { + if (self->client_info->minfo[i].is_primary) + { + primaryxoffset = self->screen->width - self->client_info->minfo[i].right - 1; + primaryyoffset = self->screen->height - self->client_info->minfo[i].bottom - 1; + break; + } + } } /* log window */ |