about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorSteffen Jaeckel <jaeckel-floss@eyet-services.de>2022-03-28 16:31:11 +0200
committerSteffen Jaeckel <jaeckel-floss@eyet-services.de>2022-03-30 18:26:10 +0200
commit2ca63d1d5f78031be374b49e5eec20ba9671fc95 (patch)
treec8fc2874fcef023baa7b9f4edf588aee38e55594 /src
parent2995fbb9539eb8c09b238e40b55d41b053caff68 (diff)
downloadprofani-tty-2ca63d1d5f78031be374b49e5eec20ba9671fc95.tar.gz
run `make format`
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
Diffstat (limited to 'src')
-rw-r--r--src/config/preferences.c3
-rw-r--r--src/ui/window.c4
2 files changed, 4 insertions, 3 deletions
diff --git a/src/config/preferences.c b/src/config/preferences.c
index 358c5fbf..43c91b54 100644
--- a/src/config/preferences.c
+++ b/src/config/preferences.c
@@ -2277,7 +2277,8 @@ _get_default_string(preference_t pref)
         return "xdg-open";
     case PREF_URL_OPEN_CMD:
         return "xdg-open %u";
-    case PREF_COMPOSE_EDITOR: {
+    case PREF_COMPOSE_EDITOR:
+    {
         gchar* editor = getenv("EDITOR");
         return editor ? editor : "vim";
     }
diff --git a/src/ui/window.c b/src/ui/window.c
index 7952497c..353b72ff 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -2033,8 +2033,8 @@ win_quote_autocomplete(ProfWin* window, const char* const input, gboolean previo
         return NULL;
     }
 
-    gchar **parts = g_strsplit(result, "\n", -1);
-    gchar *quoted_result = g_strjoinv("\n> ", parts);
+    gchar** parts = g_strsplit(result, "\n", -1);
+    gchar* quoted_result = g_strjoinv("\n> ", parts);
 
     GString* replace_with = g_string_new("> ");
     g_string_append(replace_with, quoted_result);