wineconsole: Fallback to window based console if the curses library isn't found.

This commit is contained in:
Martin Storsjo 2010-12-21 14:26:03 +02:00 committed by Alexandre Julliard
parent a7e8914526
commit 59398d7ca7
1 changed files with 1 additions and 1 deletions

View File

@ -1039,7 +1039,7 @@ static int WCCURSES_MainLoop(struct inner_data* data)
enum init_return WCCURSES_InitBackend(struct inner_data* data) enum init_return WCCURSES_InitBackend(struct inner_data* data)
{ {
if( !WCCURSES_bind_libcurses() ) if( !WCCURSES_bind_libcurses() )
return init_failed; return init_not_supported;
data->private = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(struct inner_data_curse)); data->private = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(struct inner_data_curse));
if (!data->private) return init_failed; if (!data->private) return init_failed;