diff options
author | QC <qball@gmpclient.org> | 2015-09-19 12:21:30 +0200 |
---|---|---|
committer | QC <qball@gmpclient.org> | 2015-09-19 12:21:30 +0200 |
commit | 442e235c24fa33a499e51b4a2f7ff95fb4ab43ad (patch) | |
tree | c74a3fea5b7286e9d4e60f3fc656805b3a0fad07 /source/dialogs/combi.c | |
parent | 4c970fe4da46b2b463a59acdb4ec807cf83c61c4 (diff) |
Some cleanups, tweak uncrustify.
Diffstat (limited to 'source/dialogs/combi.c')
-rw-r--r-- | source/dialogs/combi.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source/dialogs/combi.c b/source/dialogs/combi.c index 6e3c103d..8d611a6b 100644 --- a/source/dialogs/combi.c +++ b/source/dialogs/combi.c @@ -156,7 +156,8 @@ static void combi_mode_destroy ( Switcher *sw ) sw->private_data = NULL; } } -static SwitcherMode combi_mode_result ( int mretv, char **input, unsigned int selected_line, Switcher *sw ) +static SwitcherMode combi_mode_result ( int mretv, char **input, unsigned int selected_line, + Switcher *sw ) { CombiModePrivateData *pd = sw->private_data; @@ -192,11 +193,13 @@ static const char * combi_mgrv ( unsigned int selected_line, void *sw, int *stat { CombiModePrivateData *pd = ( (Switcher *) sw )->private_data; for ( unsigned i = 0; i < pd->num_switchers; i++ ) { - if ( selected_line >= pd->starts[i] && selected_line < ( pd->starts[i] + pd->lengths[i] ) ) { + if ( selected_line >= pd->starts[i] && selected_line < + ( pd->starts[i] + pd->lengths[i] ) ) { g_free ( pd->cache ); pd->cache = g_strdup_printf ( "(%s) %s", pd->switchers[i]->name, - pd->switchers[i]->mgrv ( selected_line - pd->starts[i], (void *) pd->switchers[i], state ) ); + pd->switchers[i]->mgrv ( selected_line - pd->starts[i], + (void *) pd->switchers[i], state ) ); return pd->cache; } } |