Fix printfs with too few or too many parms, remove unused vars, fix incorrect flag tests, other code cleanup.
This commit is contained in:
@@ -424,7 +424,7 @@ static void restore_screen(void)
|
||||
sizeof(boot_tty_info));
|
||||
|
||||
if(boot_tty_info.magic == TTYMAGIC) {
|
||||
if(boot_tty_info.flags & (BTIF_CONSORIGIN|BTIF_CONSCURSOR) ==
|
||||
if((boot_tty_info.flags & (BTIF_CONSORIGIN|BTIF_CONSCURSOR)) ==
|
||||
(BTIF_CONSORIGIN|BTIF_CONSCURSOR)) {
|
||||
int line;
|
||||
raw_copy(mon2abs(consolescreen),
|
||||
|
||||
Reference in New Issue
Block a user