From: Hermès Bélusca-Maïto Date: Tue, 18 Nov 2014 00:44:24 +0000 (+0000) Subject: [NTVDM]: Inline a function and fix spelling. X-Git-Tag: backups/shell-experiments@75904~3^2~48 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=d6985bdb0a25d0d297b4d188354a4247a275c16d [NTVDM]: Inline a function and fix spelling. svn path=/trunk/; revision=65429 --- diff --git a/reactos/subsystems/ntvdm/bios/vidbios.c b/reactos/subsystems/ntvdm/bios/vidbios.c index cb854c125e4..6fd8cf8d587 100644 --- a/reactos/subsystems/ntvdm/bios/vidbios.c +++ b/reactos/subsystems/ntvdm/bios/vidbios.c @@ -2339,7 +2339,7 @@ VOID VidBiosSyncCursorPosition(VOID) VidBiosSetCursorPosition(Row, Column, Bda->VideoPage); } -static BYTE VidBiosGetVideoMode(VOID) +static inline BYTE VidBiosGetVideoMode(VOID) { /* Bit 7 of VideoMode is determined by bit 7 of VGAOptions */ return Bda->VideoMode | (Bda->VGAOptions & 0x80); @@ -3177,12 +3177,12 @@ VOID WINAPI VidBiosVideoService(LPWORD Stack) break; } - /* Display combination code */ + /* Get/Set Display combination code */ case 0x1A: { switch (getAL()) { - case 0x00: /* Get Display combiantion code */ + case 0x00: /* Get Display combination code */ setAX(MAKEWORD(0x1A, 0x1A)); setBX(MAKEWORD(0x08, 0x00)); /* VGA w/ color analog display */ break;