mirror of
https://github.com/isometimes/rpi4-osdev
synced 2024-11-08 19:30:39 +00:00
Fixing typo in part6-breakout/fb.c
This commit is contained in:
parent
b79e1dd054
commit
47a855c30c
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ void drawChar(unsigned char ch, int x, int y, unsigned char attr, int zoom)
|
|||
|
||||
void drawString(int x, int y, char *s, unsigned char attr, int zoom)
|
||||
{
|
||||
while(*s) {
|
||||
while (*s) {
|
||||
if (*s == '\r') {
|
||||
x = 0;
|
||||
} else if(*s == '\n') {
|
||||
|
|
Loading…
Reference in a new issue