support double type values in config file

Change-Id: If6a722e0070246dbdae7cda7b488524f1e216d7d
changes/18/21018/3
Richard Fuchs 8 years ago
parent b4f65bdd96
commit 0072380d99

@ -139,6 +139,9 @@ void config_load(int *argc, char ***argv, GOptionEntry *app_entries, const char
case G_OPTION_ARG_INT:
CONF_OPTION_GLUE(integer, int);
case G_OPTION_ARG_DOUBLE:
CONF_OPTION_GLUE(double, double);
case G_OPTION_ARG_STRING:
case G_OPTION_ARG_FILENAME:
CONF_OPTION_GLUE(string, char *);

Loading…
Cancel
Save