diff options
-rw-r--r-- | scripts/config/confdata.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/scripts/config/confdata.c b/scripts/config/confdata.c index 78f3b20a7..327cf9a4f 100644 --- a/scripts/config/confdata.c +++ b/scripts/config/confdata.c | |||
@@ -322,18 +322,18 @@ int conf_write(const char *name) | |||
322 | while (menu) { | 322 | while (menu) { |
323 | sym = menu->sym; | 323 | sym = menu->sym; |
324 | if (!sym) { | 324 | if (!sym) { |
325 | //if (!menu_is_visible(menu)) | 325 | if (menu_is_visible(menu)) { |
326 | // goto next; | 326 | str = menu_get_prompt(menu); |
327 | str = menu_get_prompt(menu); | 327 | fprintf(out, "\n" |
328 | fprintf(out, "\n" | 328 | "#\n" |
329 | "#\n" | 329 | "# %s\n" |
330 | "# %s\n" | 330 | "#\n", str); |
331 | "#\n", str); | 331 | if (out_h) |
332 | if (out_h) | 332 | fprintf(out_h, "\n" |
333 | fprintf(out_h, "\n" | 333 | "/*\n" |
334 | "/*\n" | 334 | " * %s\n" |
335 | " * %s\n" | 335 | " */\n", str); |
336 | " */\n", str); | 336 | } |
337 | } else if (!(sym->flags & SYMBOL_CHOICE)) { | 337 | } else if (!(sym->flags & SYMBOL_CHOICE)) { |
338 | sym_calc_value(sym); | 338 | sym_calc_value(sym); |
339 | //if (!(sym->flags & SYMBOL_WRITE)) | 339 | //if (!(sym->flags & SYMBOL_WRITE)) |