Do not use the screen code when running under Windows NT.
committer: mfx <mfx> 978092789 +0000
This commit is contained in:
@@ -311,6 +311,15 @@ static int init(screen_t *this, int fd)
|
|||||||
if (getPage(this) != 0)
|
if (getPage(this) != 0)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
|
#if 1
|
||||||
|
/* check for Windows NT/2000 */
|
||||||
|
{
|
||||||
|
unsigned v = _get_dos_version(1);
|
||||||
|
if (v == 0x0532)
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
cols = ScreenCols();
|
cols = ScreenCols();
|
||||||
rows = ScreenRows();
|
rows = ScreenRows();
|
||||||
mode = getMode(this);
|
mode = getMode(this);
|
||||||
|
|||||||
Reference in New Issue
Block a user