From 058aac887f1d2c9877901aede2e43f2092b108f2 Mon Sep 17 00:00:00 2001 From: Qball Cow Date: Sun, 25 Feb 2024 22:24:58 +0100 Subject: [PATCH] Small indent --- source/view.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/source/view.c b/source/view.c index fe438daee..37231d7a4 100644 --- a/source/view.c +++ b/source/view.c @@ -29,7 +29,6 @@ #define G_LOG_DOMAIN "View" #include "config.h" -#include #include #include #include @@ -64,7 +63,6 @@ #include "mode.h" #include "modes/modes.h" #include "xcb-internal.h" -#include "xrmoptions.h" #include "view-internal.h" #include "view.h" @@ -2644,12 +2642,12 @@ void rofi_view_cleanup() { input_history_save(); } -static int rofi_thread_workers_sort(gconstpointer a,gconstpointer b, gpointer data G_GNUC_UNUSED) -{ +static int rofi_thread_workers_sort(gconstpointer a, gconstpointer b, + gpointer data G_GNUC_UNUSED) { thread_state *tsa = (thread_state *)a; thread_state *tsb = (thread_state *)b; - // lower number is lower priority.. a is sorted above is a > b. - return tsa->priority-tsb->priority; + // lower number is lower priority.. a is sorted above is a > b. + return tsa->priority - tsb->priority; } void rofi_view_workers_initialize(void) {