Skip to content

Commit

Permalink
Small indent
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveDavenport committed Feb 25, 2024
1 parent 2d35397 commit 058aac8
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions source/view.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
#define G_LOG_DOMAIN "View"

#include "config.h"
#include <errno.h>
#include <locale.h>
#include <signal.h>
#include <stdint.h>
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 058aac8

Please sign in to comment.