|
@@ -422,8 +422,18 @@ static void check_conf(struct menu *menu)
|
|
|
if (sym_is_changable(sym) ||
|
|
|
(sym_is_choice(sym) && sym_get_tristate_value(sym) == yes)) {
|
|
|
if (input_mode == listnewconfig) {
|
|
|
- if (sym->name && !sym_is_choice_value(sym)) {
|
|
|
- printf("%s%s\n", CONFIG_, sym->name);
|
|
|
+ if (sym->name) {
|
|
|
+ const char *str;
|
|
|
+
|
|
|
+ if (sym->type == S_STRING) {
|
|
|
+ str = sym_get_string_value(sym);
|
|
|
+ str = sym_escape_string_value(str);
|
|
|
+ printf("%s%s=%s\n", CONFIG_, sym->name, str);
|
|
|
+ free((void *)str);
|
|
|
+ } else {
|
|
|
+ str = sym_get_string_value(sym);
|
|
|
+ printf("%s%s=%s\n", CONFIG_, sym->name, str);
|
|
|
+ }
|
|
|
}
|
|
|
} else {
|
|
|
if (!conf_cnt++)
|