From 8867710b479c5950ab79d23b7f324448cfaff6f7 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Mon, 22 Jan 2024 16:50:00 +0000 Subject: [PATCH] Restyled by astyle --- src/autocomplete.c | 3 ++- src/autocomplete.h | 2 +- src/windows.c | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/autocomplete.c b/src/autocomplete.c index bd1ae2c8d..223dc58cd 100644 --- a/src/autocomplete.c +++ b/src/autocomplete.c @@ -96,7 +96,8 @@ static size_t get_str_match(ToxWindow *self, char *match, size_t match_sz, const * * Note: This function should not be called directly. Use complete_line() and complete_path() instead. */ -static int complete_line_helper(ToxWindow *self, Toxic *toxic, const char *const *list, const size_t n_items, bool dir_search) +static int complete_line_helper(ToxWindow *self, Toxic *toxic, const char *const *list, const size_t n_items, + bool dir_search) { ChatContext *ctx = self->chatwin; diff --git a/src/autocomplete.h b/src/autocomplete.h index 1348e15bd..7c2de57aa 100644 --- a/src/autocomplete.h +++ b/src/autocomplete.h @@ -40,7 +40,7 @@ * * Note: This function should not be called directly. Use complete_line() and complete_path() instead. */ -int complete_line(ToxWindow *self, Toxic *toxic ,const char **list, size_t n_items); +int complete_line(ToxWindow *self, Toxic *toxic, const char **list, size_t n_items); /* Attempts to match /command "" line to matching directories. * If there is only one match the line is auto-completed. diff --git a/src/windows.c b/src/windows.c index 18ebea129..50deaf38d 100644 --- a/src/windows.c +++ b/src/windows.c @@ -385,6 +385,7 @@ void on_lossless_custom_packet(Tox *tox, uint32_t friendnumber, const uint8_t *d break; } + #else UNUSED_VAR(toxic); #endif // GAMES