From 1e63403183c6ff2a92f62f9c2e42d7cc9d8c0dfe Mon Sep 17 00:00:00 2001
From: Martin Storsjo <martin@martin.st>
Date: Fri, 28 Nov 2008 15:11:31 +0200
Subject: wineconsole: Fallback to window based console if the curses library isn't found
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="------------1.6.0.2"

This is a multi-part message in MIME format.
--------------1.6.0.2
Content-Type: text/plain; charset=UTF-8; format=fixed
Content-Transfer-Encoding: 8bit

---
 programs/wineconsole/curses.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


--------------1.6.0.2
Content-Type: text/x-patch; name="1e63403183c6ff2a92f62f9c2e42d7cc9d8c0dfe.diff"
Content-Transfer-Encoding: 8bit
Content-Disposition: attachment; filename="1e63403183c6ff2a92f62f9c2e42d7cc9d8c0dfe.diff"

diff --git a/programs/wineconsole/curses.c b/programs/wineconsole/curses.c
index 4270b1b..082d7ad 100644
--- a/programs/wineconsole/curses.c
+++ b/programs/wineconsole/curses.c
@@ -958,7 +958,7 @@ static int WCCURSES_MainLoop(struct inner_data* data)
 enum init_return WCCURSES_InitBackend(struct inner_data* data)
 {
     if( !WCCURSES_bind_libcurses() )
-        return init_failed;
+        return init_not_supported;
 
     data->private = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(struct inner_data_curse));
     if (!data->private) return init_failed;

--------------1.6.0.2--


