Fixing typo in part6-breakout/fb.c

This commit is contained in:
Adam Greenwood-Byrne 2020-07-15 17:57:37 +01:00
parent b79e1dd054
commit 47a855c30c

View file

@ -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') {