summaryrefslogtreecommitdiffstats
path: root/xrdp/xrdp_login_wnd.c
diff options
context:
space:
mode:
Diffstat (limited to 'xrdp/xrdp_login_wnd.c')
-rw-r--r--xrdp/xrdp_login_wnd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xrdp/xrdp_login_wnd.c b/xrdp/xrdp_login_wnd.c
index 38b58d99..b6fa0d19 100644
--- a/xrdp/xrdp_login_wnd.c
+++ b/xrdp/xrdp_login_wnd.c
@@ -187,10 +187,10 @@ int xrdp_wm_login_notify(struct xrdp_bitmap* wnd,
}
else if (sender->id == 2) /* cancel button */
{
- /*if (wnd != 0)
+ if (wnd != 0)
if (wnd->wm != 0)
if (wnd->wm->pro_layer != 0)
- wnd->wm->pro_layer->term = 1;*/
+ wnd->wm->pro_layer->term = 1;
}
else if (sender->id == 3) /* ok button */
{