From 4edea9c103772a721278494f00c6aa7897185bfa Mon Sep 17 00:00:00 2001
From: Jannis Rieger <omniskopus@gmail.com>
Date: Wed, 21 Aug 2019 17:29:15 +0200
Subject: [PATCH] fixed code style

---
 lib/gfx/gfx.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/lib/gfx/gfx.c b/lib/gfx/gfx.c
index b83596c6..55f1debf 100644
--- a/lib/gfx/gfx.c
+++ b/lib/gfx/gfx.c
@@ -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
-- 
GitLab