Commit 4edea9c1 authored by Jannis Rieger's avatar Jannis Rieger
Browse files

fixed code style

parent b0c748be
Pipeline #2621 passed with stages
in 1 minute and 45 seconds
......@@ -87,17 +87,16 @@ void gfx_puts(
Color bg
) {
// iterate over the string
while(*str) {
while (*str) {
// if the current position plus the width of the next character
// would bring us outside of the display ...
if( (x + font->Width) > r->width) {
if ((x + font->Width) > r->width) {
// ... we move down a line before printing the character
x = 0;
y += font->Height;
}
// if the line is outside the display we return
if(y >= r->height)
if (y >= r->height)
return;
// now print the character
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment