From 3581a015bf65f72142a61c3b9b9c05cbe6bbce22 Mon Sep 17 00:00:00 2001
From: Martin Storsjo <martin@martin.st>
Date: Fri, 28 Nov 2008 15:12:33 +0200
Subject: wineconsole: Don't force a window backend when --use-event is specified
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="------------1.6.0.2"

This is a multi-part message in MIME format.
--------------1.6.0.2
Content-Type: text/plain; charset=UTF-8; format=fixed
Content-Transfer-Encoding: 8bit


The user could choose a different preference by setting WINECONSOLE="wineconsole --backend=curses"
---
 programs/wineconsole/wineconsole.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)


--------------1.6.0.2
Content-Type: text/x-patch; name="3581a015bf65f72142a61c3b9b9c05cbe6bbce22.diff"
Content-Transfer-Encoding: 8bit
Content-Disposition: attachment; filename="3581a015bf65f72142a61c3b9b9c05cbe6bbce22.diff"

diff --git a/programs/wineconsole/wineconsole.c b/programs/wineconsole/wineconsole.c
index bdb695d..96a93df 100644
--- a/programs/wineconsole/wineconsole.c
+++ b/programs/wineconsole/wineconsole.c
@@ -780,7 +780,6 @@ static UINT WINECON_ParseOptions(const char* lpCmdLine, struct wc_init* wci)
             if (end == wci->ptr + 12) return IDS_CMD_INVALID_EVENT_ID;
             wci->mode = from_event;
             wci->ptr = end;
-            wci->backend = WCUSER_InitBackend;
         }
         else if (strncmp(wci->ptr, "--backend=", 10) == 0)
         {

--------------1.6.0.2--


