aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-17 12:03:43 +0200
committerMax Kellermann <max@duempel.org>2008-09-17 12:03:43 +0200
commitb126dbbfecd92850528b37b7f580e48601023748 (patch)
treeedcc61626ea49ec66ddeb04cb204e23d9056c14d /src/screen.c
parent5fb495639feb4d6789cfc95358fd5ffd95bd871a (diff)
downloadmpd-b126dbbfecd92850528b37b7f580e48601023748.tar.gz
mpd-b126dbbfecd92850528b37b7f580e48601023748.tar.xz
mpd-b126dbbfecd92850528b37b7f580e48601023748.zip
code style, indent with tabs III
Follow the same code style als MPD itself.
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/screen.c b/src/screen.c
index c616715bf..0b335efa9 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -626,17 +626,16 @@ screen_init(mpdclient_t *c)
/* initialize screens */
i=0;
- while( screens[i].get_mode_functions )
- {
- struct screen_functions *fn = screens[i].get_mode_functions();
+ while (screens[i].get_mode_functions) {
+ struct screen_functions *fn = screens[i].get_mode_functions();
- if( fn && fn->init )
- fn->init(screen->main_window.w,
- screen->main_window.cols,
- screen->main_window.rows);
+ if (fn && fn->init)
+ fn->init(screen->main_window.w,
+ screen->main_window.cols,
+ screen->main_window.rows);
- i++;
- }
+ i++;
+ }
#if 0
/* broken */