wineconsole startup (3rd try)

Eric Pouech eric.pouech at wanadoo.fr
Sun Mar 9 02:22:25 CST 2003


please use this patch instead... I hope I have it right this time :-/

A+
-- 
Eric Pouech
-------------- next part --------------
Name:          wc_start2
ChangeLog:     fixed another regression in sub-process creation (curses backend must be default for AllocConsole() invocation)
License:       X11
GenDate:       2003/03/09 08:20:52 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	9 Mar 2003 08:19:20 -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,8 @@
             else
                 return FALSE;
         }
+        else
+            return FALSE;
     }
 
     return TRUE;


More information about the wine-patches mailing list