Martin Storsjo : wineconsole: Fallback to window based console if the curses library isn't found.
Alexandre Julliard
julliard at winehq.org
Thu Apr 7 07:37:07 CDT 2011
Module: wine
Branch: stable
Commit: a55cafb6778d7047440b65980eab8c8149c0eb44
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a55cafb6778d7047440b65980eab8c8149c0eb44
Author: Martin Storsjo <martin at martin.st>
Date: Tue Dec 21 14:26:03 2010 +0200
wineconsole: Fallback to window based console if the curses library isn't found.
(cherry picked from commit 59398d7ca7e43cc9fe4bfecd5277ce648a181a97)
---
programs/wineconsole/curses.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/programs/wineconsole/curses.c b/programs/wineconsole/curses.c
index 773f985..a49bcea 100644
--- a/programs/wineconsole/curses.c
+++ b/programs/wineconsole/curses.c
@@ -951,7 +951,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;
More information about the wine-cvs
mailing list