From 76b07fbf221a03325e95bb06d29454a905686a6c Mon Sep 17 00:00:00 2001 From: marschap Date: Sat, 8 Apr 2006 20:25:06 +0000 Subject: [PATCH] harmonize coding style --- server/drivers/lcd_lib.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/server/drivers/lcd_lib.c b/server/drivers/lcd_lib.c index 17dd991..34f57c3 100644 --- a/server/drivers/lcd_lib.c +++ b/server/drivers/lcd_lib.c @@ -24,7 +24,7 @@ free_framebuf (Driver *driver) { return; if (driver->framebuf != NULL) - free (driver->framebuf); + free(driver->framebuf); driver->framebuf = NULL; } @@ -40,7 +40,7 @@ clear_framebuf (Driver *driver) { return; framebuf_size = driver->wid * driver->hgt; - memset (driver->framebuf, ' ', framebuf_size); + memset(driver->framebuf, ' ', framebuf_size); } */ @@ -131,7 +131,7 @@ lib_hbar_static (Driver *drvthis, int x, int y, int len, int promille, int optio int pixels = total_pixels - cellwidth * pos; - if( pixels >= cellwidth ) { + if ( pixels >= cellwidth ) { /* write a "full" block to the screen... */ #if defined(SEAMLESS_HBARS) drvthis->chr (drvthis, x+pos, y, cellwidth + cc_offset); @@ -139,7 +139,7 @@ lib_hbar_static (Driver *drvthis, int x, int y, int len, int promille, int optio drvthis->icon (drvthis, x+pos, y, ICON_BLOCK_FILLED); #endif } - else if( pixels > 0 ) { + else if ( pixels > 0 ) { /* write a partial block... */ drvthis->chr (drvthis, x+pos, y, pixels + cc_offset); break; @@ -168,11 +168,11 @@ lib_vbar_static (Driver *drvthis, int x, int y, int len, int promille, int optio int pixels = total_pixels - cellheight * pos; - if( pixels >= cellheight ) { + if ( pixels >= cellheight ) { /* write a "full" block to the screen... */ drvthis->icon (drvthis, x, y-pos, ICON_BLOCK_FILLED); } - else if( pixels > 0 ) { + else if ( pixels > 0 ) { /* write a partial block... */ drvthis->chr (drvthis, x, y-pos, pixels + cc_offset); break;