Skip to content

Commit

Permalink
Restyled by astyle
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits committed Jan 22, 2024
1 parent bcce92a commit 8867710
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/autocomplete.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/autocomplete.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 "<incomplete-dir>" line to matching directories.
* If there is only one match the line is auto-completed.
Expand Down
1 change: 1 addition & 0 deletions src/windows.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8867710

Please sign in to comment.