diff --git a/source/ubinstall-gtk-configuration-mode.c b/source/ubinstall-gtk-configuration-mode.c index 3aecbbe..32311cf 100644 --- a/source/ubinstall-gtk-configuration-mode.c +++ b/source/ubinstall-gtk-configuration-mode.c @@ -21,6 +21,13 @@ int yon_configuration_path_check(const char *path){ } else { full_path = yon_char_new(path); } + { + if (!strstr(full_path,".")){ + char *temp = yon_char_append(full_path,".ini"); + free(full_path); + full_path = temp; + } + } if (access(full_path,F_OK)){ dialog_confirmation_data *data = yon_confirmation_dialog_data_new(); data->action_text = homedir_create?CREATE_CONFIG_DIALOG_LABEL_HOMEDIR:CREATE_CONFIG_DIALOG_LABEL;