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

Alexandre Julliard julliard at winehq.org
Thu Apr 7 07:37:07 CDT 2011


Module: wine
Branch: stable
Commit: d23c622471ee9a450d7cfb876f3270c1d06cdd85
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d23c622471ee9a450d7cfb876f3270c1d06cdd85

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.
(cherry picked from commit 0f3ff8b4b162202e687ebeaa33062b46d56574b1)

---

 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 5acb9ad..6500950 100644
--- a/programs/wineconsole/wineconsole.c
+++ b/programs/wineconsole/wineconsole.c
@@ -743,7 +743,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