wineconsole startup (2nd)

Eric Pouech eric.pouech at wanadoo.fr
Sat Mar 8 15:02:33 CST 2003


this time with the fix for the endless loop reported by Andi

A+
-- 
Eric Pouech
-------------- next part --------------
Name:          wc_start2
ChangeLog:     
- fixed another regression in sub-process creation (curses backend must be default for AllocConsole() invocation)
- fixed endless loop when unknown argument was passed on commandline
License:       X11
GenDate:       2003/03/08 20:58:20 UTC
ModifiedFiles: programs/wineconsole/wineconsole.c
===================================================================
RCS file: /home/cvs/cvsroot/wine/wine/programs/wineconsole/wineconsole.c,v
retrieving revision 1.23
diff -u -u -r1.23 wineconsole.c
--- programs/wineconsole/wineconsole.c	7 Mar 2003 20:34:55 -0000	1.23
+++ programs/wineconsole/wineconsole.c	8 Mar 2003 20:57:42 -0000
@@ -694,6 +694,7 @@
             if (end == wci->ptr + 12) return FALSE;
             wci->mode = from_event;
             wci->ptr = end;
+            wci->backend = WCUSER_InitBackend;
         }
         else if (strncmp(wci->ptr, "--backend=", 10) == 0)
         {
@@ -709,6 +710,7 @@
             else
                 return FALSE;
         }
+        return FALSE;
     }
 
     return TRUE;


More information about the wine-patches mailing list