1
0
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:
Nick Briggs 2023-02-21 10:23:47 -08:00
parent b3d27cdece
commit 3e1130909c

View File

@ -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);