[PATCH] wineconsole: Don't overwrite the backend selection when parsing --use-event
Martin Storsjo
martin at martin.st
Tue Dec 21 16:07:51 CST 2010
The --use-event parameter is used when a wineconsole is launched
implicitly by kernel32. The backend type defaults to a window anyway,
without setting it here.
By not overwriting the backend selection, the user can choose a
different preference by setting WINECONSOLE="wineconsole --backend=curses".
This closes bug 16704.
---
programs/wineconsole/wineconsole.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/programs/wineconsole/wineconsole.c b/programs/wineconsole/wineconsole.c
index 410d163..ca20763 100644
--- a/programs/wineconsole/wineconsole.c
+++ b/programs/wineconsole/wineconsole.c
@@ -758,7 +758,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.7.2.3
More information about the wine-patches
mailing list