fixed width font problem in NutRenderer

svn-id: r6128
This commit is contained in:
Paweł Kołodziejski 2002-12-25 14:09:54 +00:00
parent c480833be7
commit 3bbfde3259

View File

@ -188,8 +188,8 @@ void NutRenderer::drawString(char *string, int32 x, int32 y, byte color, int32 m
return;
}
x += getCharWidth(string[l]);
drawChar(string[l], x, y, 0);
x += getCharWidth(string[l]);
l++;
} while (string[l] != 0);