summaryrefslogtreecommitdiff
path: root/package/config/zconf.y
diff options
context:
space:
mode:
Diffstat (limited to 'package/config/zconf.y')
-rw-r--r--package/config/zconf.y12
1 files changed, 6 insertions, 6 deletions
diff --git a/package/config/zconf.y b/package/config/zconf.y
index 13465c766..ca435c5f9 100644
--- a/package/config/zconf.y
+++ b/package/config/zconf.y
@@ -402,7 +402,7 @@ help_start: T_HELP T_EOL
help: help_start T_HELPTEXT
{
- current_entry->sym->help = $2;
+ current_entry->help = $2;
};
/* depends option */
@@ -649,11 +649,11 @@ void print_symbol(FILE *out, struct menu *menu)
break;
}
}
- if (sym->help) {
- int len = strlen(sym->help);
- while (sym->help[--len] == '\n')
- sym->help[len] = 0;
- fprintf(out, " help\n%s\n", sym->help);
+ if (menu->help) {
+ int len = strlen(menu->help);
+ while (menu->help[--len] == '\n')
+ menu->help[len] = 0;
+ fprintf(out, " help\n%s\n", menu->help);
}
fputc('\n', out);
}