diff options
author | Steffen Jaeckel <jaeckel-floss@eyet-services.de> | 2022-03-28 16:31:11 +0200 |
---|---|---|
committer | Steffen Jaeckel <jaeckel-floss@eyet-services.de> | 2022-03-30 18:26:10 +0200 |
commit | 2ca63d1d5f78031be374b49e5eec20ba9671fc95 (patch) | |
tree | c8fc2874fcef023baa7b9f4edf588aee38e55594 /src/config | |
parent | 2995fbb9539eb8c09b238e40b55d41b053caff68 (diff) | |
download | profani-tty-2ca63d1d5f78031be374b49e5eec20ba9671fc95.tar.gz |
run `make format`
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/preferences.c | 3 |
1 files changed, 2 insertions, 1 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"; } |