wineconsole: Fallback to window based console if the curses library isn't found.
This commit is contained in:
parent
a7e8914526
commit
59398d7ca7
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue