From 753db647559caf01bd0d0a47e9e68375bbf52682 Mon Sep 17 00:00:00 2001 From: Scoopta Date: Tue, 7 Jan 2020 18:30:34 -0800 Subject: [PATCH] And that config_get too --- src/wofi.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/wofi.c b/src/wofi.c index f294164..e5da3b2 100644 --- a/src/wofi.c +++ b/src/wofi.c @@ -839,7 +839,9 @@ void wofi_init(struct map* _config) { matching = config_get_mnemonic(config, "matching", "contains", 2, "contains", "fuzzy"); insensitive = strcmp(config_get(config, "insensitive", "false"), "true") == 0; parse_search = strcmp(config_get(config, "parse_search", "false"), "true") == 0; - location = config_get_mnemonic(config, "location", "center", 18, "center", "top_left", "top", "top_right", "right", "bottom_right", "bottom", "bottom_left", "left", "0", "1", "2", "3", "4", "5", "6", "7", "8"); + location = config_get_mnemonic(config, "location", "center", 18, + "center", "top_left", "top", "top_right", "right", "bottom_right", "bottom", "bottom_left", "left", + "0", "1", "2", "3", "4", "5", "6", "7", "8"); modes = map_init_void(); window = gtk_window_new(GTK_WINDOW_TOPLEVEL);