mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Rename win_println -> win_println_indent
This commit is contained in:
parent
5488fd6e72
commit
3612270e90
@ -113,7 +113,7 @@ cons_show_padded(int pad, const char *const msg, ...)
|
|||||||
va_start(arg, msg);
|
va_start(arg, msg);
|
||||||
GString *fmt_msg = g_string_new(NULL);
|
GString *fmt_msg = g_string_new(NULL);
|
||||||
g_string_vprintf(fmt_msg, msg, arg);
|
g_string_vprintf(fmt_msg, msg, arg);
|
||||||
win_println(console, pad, fmt_msg->str);
|
win_println_indent(console, pad, fmt_msg->str);
|
||||||
g_string_free(fmt_msg, TRUE);
|
g_string_free(fmt_msg, TRUE);
|
||||||
va_end(arg);
|
va_end(arg);
|
||||||
}
|
}
|
||||||
|
@ -363,7 +363,7 @@ void win_show_occupant(ProfWin *window, Occupant *occupant);
|
|||||||
void win_show_occupant_info(ProfWin *window, const char *const room, Occupant *occupant);
|
void win_show_occupant_info(ProfWin *window, const char *const room, Occupant *occupant);
|
||||||
void win_show_contact(ProfWin *window, PContact contact);
|
void win_show_contact(ProfWin *window, PContact contact);
|
||||||
void win_show_info(ProfWin *window, PContact contact);
|
void win_show_info(ProfWin *window, PContact contact);
|
||||||
void win_println(ProfWin *window, int pad, const char *const message);
|
void win_println_indent(ProfWin *window, int pad, const char *const message);
|
||||||
void win_clear(ProfWin *window);
|
void win_clear(ProfWin *window);
|
||||||
char* win_to_string(ProfWin *window);
|
char* win_to_string(ProfWin *window);
|
||||||
|
|
||||||
|
@ -1110,7 +1110,7 @@ win_update_entry_theme(ProfWin *window, const char *const id, theme_item_t theme
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
win_println(ProfWin *window, int pad, const char *const message)
|
win_println_indent(ProfWin *window, int pad, const char *const message)
|
||||||
{
|
{
|
||||||
win_printf(window, '-', pad, NULL, 0, THEME_DEFAULT, "", "%s", message);
|
win_printf(window, '-', pad, NULL, 0, THEME_DEFAULT, "", "%s", message);
|
||||||
}
|
}
|
||||||
|
@ -528,7 +528,7 @@ void win_show_occupant(ProfWin *window, Occupant *occupant) {}
|
|||||||
void win_show_occupant_info(ProfWin *window, const char * const room, Occupant *occupant) {}
|
void win_show_occupant_info(ProfWin *window, const char * const room, Occupant *occupant) {}
|
||||||
void win_show_contact(ProfWin *window, PContact contact) {}
|
void win_show_contact(ProfWin *window, PContact contact) {}
|
||||||
void win_show_info(ProfWin *window, PContact contact) {}
|
void win_show_info(ProfWin *window, PContact contact) {}
|
||||||
void win_println(ProfWin *window, int pad, const char * const message) {}
|
void win_println_indent(ProfWin *window, int pad, const char * const message) {}
|
||||||
void win_clear(ProfWin *window) {}
|
void win_clear(ProfWin *window) {}
|
||||||
char* win_to_string(ProfWin *window)
|
char* win_to_string(ProfWin *window)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user