1
1

tweaks: move two functions to after the one that they make use of

Этот коммит содержится в:
Benno Schulenberg 2019-10-13 16:21:31 +02:00
родитель c51f5f4bff
Коммит f14be47878
2 изменённых файлов: 15 добавлений и 15 удалений

Просмотреть файл

@ -629,9 +629,9 @@ void check_statusblank(void);
char *display_string(const char *buf, size_t column, size_t span,
bool isdata, bool isprompt);
void titlebar(const char *path);
void statusline(message_type importance, const char *msg, ...);
void statusbar(const char *msg);
void warn_and_shortly_pause(const char *msg);
void statusline(message_type importance, const char *msg, ...);
void bottombars(int menu);
void post_one_key(const char *keystroke, const char *tag, int width);
void place_the_cursor(void);

Просмотреть файл

@ -2164,20 +2164,6 @@ void titlebar(const char *path)
wrefresh(topwin);
}
/* Display a normal message on the statusbar, quietly. */
void statusbar(const char *msg)
{
statusline(HUSH, msg);
}
/* Warn the user on the statusbar and pause for a moment, so that the
* message can be noticed and read. */
void warn_and_shortly_pause(const char *msg)
{
statusline(ALERT, msg);
napms(1800);
}
/* Display a message on the statusbar, and set suppress_cursorpos to
* TRUE, so that the message won't be immediately overwritten if
* constant cursor position display is on. */
@ -2279,6 +2265,20 @@ void statusline(message_type importance, const char *msg, ...)
statusblank = 26;
}
/* Display a normal message on the statusbar, quietly. */
void statusbar(const char *msg)
{
statusline(HUSH, msg);
}
/* Warn the user on the statusbar and pause for a moment, so that the
* message can be noticed and read. */
void warn_and_shortly_pause(const char *msg)
{
statusline(ALERT, msg);
napms(1800);
}
/* Display the shortcut list corresponding to menu on the last two rows
* of the bottom portion of the window. */
void bottombars(int menu)