Commit 85250045 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Add "auto" as a synonim for "default".

parent b2626860
...@@ -141,7 +141,7 @@ getbool(int c, int *int_r, gnc_t gnc, void *closure) ...@@ -141,7 +141,7 @@ getbool(int c, int *int_r, gnc_t gnc, void *closure)
i = CONFIG_YES; i = CONFIG_YES;
else if(strcmp(t, "false") == 0 || strcmp(t, "no") == 0) else if(strcmp(t, "false") == 0 || strcmp(t, "no") == 0)
i = CONFIG_NO; i = CONFIG_NO;
else if(strcmp(t, "default") == 0) else if(strcmp(t, "default") == 0 || strcmp(t, "auto") == 0)
i = CONFIG_DEFAULT; i = CONFIG_DEFAULT;
else { else {
free(t); free(t);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment