viocalls: Actually, VioGetMode() needs to initialize ncurses.
It needs the screen size, etc.
Now that 23e344a212 fixes unloading the
VIOCALLS module, we can tolerate this better.
This commit is contained in:
1 file changed
+3
-3
+3
-3
@@ -210,9 +210,9 @@ APIRET16 VioGetMode(PVIOMODEINFO pvioModeInfo, HVIO hvio)
|
||||
else if (pvioModeInfo->cb != sizeof (*pvioModeInfo))
|
||||
return ERROR_VIO_INVALID_LENGTH;
|
||||
|
||||
FIXME("might need to init ncurses at some point, but not yet.");
|
||||
//else if (!initNcurses())
|
||||
// return ERROR_VIO_INVALID_HANDLE;
|
||||
//FIXME("might need to init ncurses at some point, but not yet.");
|
||||
else if (!initNcurses())
|
||||
return ERROR_VIO_INVALID_HANDLE;
|
||||
|
||||
memset(pvioModeInfo, '\0', sizeof (*pvioModeInfo));
|
||||
pvioModeInfo->cb = sizeof (*pvioModeInfo);
|
||||
|
||||
Reference in new issue
Block a user