Skip to content

Commit b07ff36

Browse files
committed
forgot a word
1 parent cafc84c commit b07ff36

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

libogc/console.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ to convert from 'an amount of tiles' to 'the end of the final tile' (aka 'the st
340340
simply add 1 to the 'amount of tiles' value
341341
Examples:
342342
a cursor points to (the start of) tile 3, how many tiles to fill to clear until (the start of) tile 7 ?
343-
-> fill tile 3, 4, 5, 6 (= 4 tiles)
343+
-> fill tile 3, 4, 5, 6 (= 4 tiles = 7 - 3)
344344
a cursor points to (the start of) tile 2 in an area with 5 tiles, how many tiles to fill to clear until the end ?
345345
-> fill tile 2, 3, 4, 5 (= 4 tiles = 5 - 2 + 1, because '5' here is an amount, not an offset)
346346
*/
@@ -351,7 +351,7 @@ static void __console_clear_line(int line, int from, int to)
351351

352352
if( !(con = currentConsole) ) return;
353353

354-
// Each character is FONT_XSIZE * VI_DISPLAY_PIX_SZ wide
354+
// Each character is FONT_XSIZE * VI_DISPLAY_PIX_SZ bytes wide
355355
const u32 line_width = (to - from) * FONT_XSIZE * VI_DISPLAY_PIX_SZ;
356356

357357
unsigned int bgcolor = con->bg;

0 commit comments

Comments
 (0)