From 7061eb21ae1625260eeb5715d42a820450c6c513 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Tue, 3 Nov 2020 23:57:02 +0100 Subject: Indent round. --- source/view.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'source/view.c') diff --git a/source/view.c b/source/view.c index 5ba1309a..d28dea75 100644 --- a/source/view.c +++ b/source/view.c @@ -416,7 +416,7 @@ static void rofi_view_calculate_window_position ( RofiViewState *state ) static void rofi_view_window_update_size ( RofiViewState * state ) { if ( state == NULL ) { - return; + return; } uint16_t mask = XCB_CONFIG_WINDOW_X | XCB_CONFIG_WINDOW_Y | XCB_CONFIG_WINDOW_WIDTH | XCB_CONFIG_WINDOW_HEIGHT; uint32_t vals[] = { state->x, state->y, state->width, state->height }; @@ -495,12 +495,12 @@ RofiViewState * rofi_view_get_active ( void ) void rofi_view_remove_active ( RofiViewState *state ) { - if ( state == current_active_menu ) { - rofi_view_set_active ( NULL ); - } - else if ( state ) { - g_queue_remove ( &(CacheState.views ), state); - } + if ( state == current_active_menu ) { + rofi_view_set_active ( NULL ); + } + else if ( state ) { + g_queue_remove ( &( CacheState.views ), state ); + } } void rofi_view_set_active ( RofiViewState *state ) { -- cgit v1.2.3