Always call the wrap_here method
This changes all existing calls to wrap_here to call the method on the appropriate ui_file instead. The choice of ui_file is determined by context.
This commit is contained in:
parent
7016a382b0
commit
1285ce8629
28 changed files with 80 additions and 80 deletions
|
@ -1414,7 +1414,7 @@ fput_command_names_styled (const cmd_list_element &c,
|
|||
continue;
|
||||
|
||||
fputs_filtered (", ", stream);
|
||||
wrap_here (3);
|
||||
stream->wrap_here (3);
|
||||
fput_command_name_styled (alias, stream);
|
||||
}
|
||||
|
||||
|
@ -1651,7 +1651,7 @@ help_list (struct cmd_list_element *list, const char *cmdtype,
|
|||
fprintf_filtered (stream, "\n\
|
||||
Type \"help%s\" followed by a class name for a list of commands in ",
|
||||
cmdtype1);
|
||||
wrap_here (0);
|
||||
stream->wrap_here (0);
|
||||
fprintf_filtered (stream, "that class.");
|
||||
|
||||
fprintf_filtered (stream, "\n\
|
||||
|
@ -1660,16 +1660,16 @@ Type \"help all\" for the list of all commands.");
|
|||
|
||||
fprintf_filtered (stream, "\nType \"help%s\" followed by %scommand name ",
|
||||
cmdtype1, cmdtype2);
|
||||
wrap_here (0);
|
||||
stream->wrap_here (0);
|
||||
fputs_filtered ("for ", stream);
|
||||
wrap_here (0);
|
||||
stream->wrap_here (0);
|
||||
fputs_filtered ("full ", stream);
|
||||
wrap_here (0);
|
||||
stream->wrap_here (0);
|
||||
fputs_filtered ("documentation.\n", stream);
|
||||
fputs_filtered ("Type \"apropos word\" to search "
|
||||
"for commands related to \"word\".\n", stream);
|
||||
fputs_filtered ("Type \"apropos -v word\" for full documentation", stream);
|
||||
wrap_here (0);
|
||||
stream->wrap_here (0);
|
||||
fputs_filtered (" of commands related to \"word\".\n", stream);
|
||||
fputs_filtered ("Command name abbreviations are allowed if unambiguous.\n",
|
||||
stream);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue