From 98f6d5630f6be4f955e308a5c1a91749f8cf7300 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Sat, 17 Jun 2023 00:29:27 -0600 Subject: alerts v2, formatting --- plugins/shortcuts/shortcuts.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/shortcuts') diff --git a/plugins/shortcuts/shortcuts.c b/plugins/shortcuts/shortcuts.c index 1af4fda..7ee9e2e 100644 --- a/plugins/shortcuts/shortcuts.c +++ b/plugins/shortcuts/shortcuts.c @@ -2,8 +2,8 @@ #include #include -#include "../libre_redirect/str_replace_start.h" #include "../libre_redirect/str_init.h" +#include "../libre_redirect/str_replace_start.h" #define SHORTCUT_N 41 @@ -33,8 +33,8 @@ int shortcut_expand(const char* uri, char* output) char* shortcuts[] = { "!fnf", "!fnc", - "!hn", - "!hnb" + "!hn", + "!hnb" }; char* expansions[] = { @@ -45,7 +45,7 @@ int shortcut_expand(const char* uri, char* output) }; // len = sizeof(shortcuts) / sizeof(shortcuts[0]); - len = sizeof(shortcuts) / sizeof(char *); + len = sizeof(shortcuts) / sizeof(char*); for (int i = 0; i < len; i++) { int replace_check = str_replace_start(tmp_uri, shortcuts[i], -- cgit v1.2.3