mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-14 07:30:21 +00:00
Simplify awkward if-test expression
This commit is contained in:
parent
b3d27cdece
commit
3e1130909c
@ -232,7 +232,7 @@ void VESA_enter(DspInterface dsp)
|
||||
|
||||
TPRINT(("Enter VESA_enter\n"));
|
||||
VESA_setmode(dsp->graphicsmode, TRUE);
|
||||
if (!((VESA_describemode(dsp->graphicsmode) == 0))) {
|
||||
if (VESA_describemode(dsp->graphicsmode) != 0) {
|
||||
_setvideomode(_DEFAULTMODE);
|
||||
_clearscreen(_GCLEARSCREEN);
|
||||
fprintf(stderr, "Can't set VESA mode %o.\n", dsp->graphicsmode);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user