Skip to content

Commit 4fa2378

Browse files
authored
Fix bright foreground in console.c (#609)
1 parent 1f8d386 commit 4fa2378

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎libctru/source/console.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ static void consoleSetColorState(int code)
334334
case 90 ... 97: // bright foreground
335335
escapeSeq.color.flags &= ~CONSOLE_COLOR_FAINT;
336336
escapeSeq.color.flags |= CONSOLE_COLOR_FG_BRIGHT;
337-
escapeSeq.color.flags &= ~CONSOLE_BG_CUSTOM;
337+
escapeSeq.color.flags &= ~CONSOLE_FG_CUSTOM;
338338
escapeSeq.color.fg = code - 90;
339339
break;
340340
case 100 ... 107: // bright background

0 commit comments

Comments
 (0)