2009/12/12 Michal Marek <mmarek@xxxxxxx>: >> What do you think of mconf:show_help() before invoking >> show_help_text() - is it the right spot to plug this in? Do you have a >> suggestion?> > > If you look at the expr_print() prototype, it takes a pointer to a > callback and a data argument. This callback gets repeatedly called to > store or display parts of the text. So you could create a new callback > that pastes the parts together and inserts a newline if needed. That > way, you don't have to memcpy() the text around afterwards. > expr_print() gets called through expr_gstr_print() from three different places in menu.c, how would I limit the scope of this change to the case of help message display only? I think this change should only affect help messages - don't you agree? cheers, /vb -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html