diff --git a/src/xpra/platform/win32/gui.py b/src/xpra/platform/win32/gui.py index f06c3976b5..34f138bef1 100644 --- a/src/xpra/platform/win32/gui.py +++ b/src/xpra/platform/win32/gui.py @@ -555,11 +555,11 @@ def handle_console_event(self, event): if event==win32con.CTRL_C_EVENT: if c: c.signal_disconnect_and_quit(0, "CTRL_C") - return 1 + return 1 if event==win32con.CTRL_CLOSE_EVENT: if c: c.signal_disconnect_and_quit(0, "CTRL_CLOSE") - return 1 + return 1 return 0