Martin Storsjo : wineconsole: Don' t overwrite the backend selection when parsing --use-event.

Alexandre Julliard julliard at winehq.org
Thu Dec 23 11:28:07 CST 2010


Module: wine
Branch: master
Commit: 0f3ff8b4b162202e687ebeaa33062b46d56574b1
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0f3ff8b4b162202e687ebeaa33062b46d56574b1

Author: Martin Storsjo <martin at martin.st>
Date:   Wed Dec 22 00:07:51 2010 +0200

wineconsole: Don't overwrite the backend selection when parsing --use-event.

---

 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)
         {




More information about the wine-cvs mailing list