]> git.sur5r.net Git - i3/i3status/commitdiff
make libconfuse handle config files case insensitive
authorMichael Stapelberg <michael@stapelberg.de>
Tue, 18 Oct 2011 21:40:14 +0000 (22:40 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Tue, 18 Oct 2011 21:40:14 +0000 (22:40 +0100)
i3status.c

index ca079313cfccd57806155df2ebdf327123e531dd..523ba7ebd10d174e87edd6bd9bb3426890184820 100644 (file)
@@ -303,7 +303,7 @@ int main(int argc, char *argv[]) {
         if (configfile == NULL)
                 configfile = get_config_path();
 
-        cfg = cfg_init(opts, CFGF_NONE);
+        cfg = cfg_init(opts, CFGF_NOCASE);
         if (cfg_parse(cfg, configfile) == CFG_PARSE_ERROR)
                 return EXIT_FAILURE;