mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-22 16:26:21 +00:00
Updated console new message text
This commit is contained in:
@@ -311,7 +311,7 @@ cons_show_incoming_room_message(const char *const nick, const char *const room,
|
||||
ui_index = 0;
|
||||
}
|
||||
|
||||
win_vprint(console, '-', 0, NULL, 0, THEME_INCOMING, "", "<< incoming from %s in %s (win %d)", nick, room, ui_index);
|
||||
win_vprint(console, '-', 0, NULL, 0, THEME_INCOMING, "", "<< room message: %s in %s (win %d)", nick, room, ui_index);
|
||||
|
||||
cons_alert();
|
||||
}
|
||||
@@ -325,7 +325,21 @@ cons_show_incoming_message(const char *const short_from, const int win_index)
|
||||
if (ui_index == 10) {
|
||||
ui_index = 0;
|
||||
}
|
||||
win_vprint(console, '-', 0, NULL, 0, THEME_INCOMING, "", "<< incoming from %s (win %d)", short_from, ui_index);
|
||||
win_vprint(console, '-', 0, NULL, 0, THEME_INCOMING, "", "<< chat message: %s (win %d)", short_from, ui_index);
|
||||
|
||||
cons_alert();
|
||||
}
|
||||
|
||||
void
|
||||
cons_show_incoming_private_message(const char *const nick, const char *const room, const int win_index)
|
||||
{
|
||||
ProfWin *console = wins_get_console();
|
||||
|
||||
int ui_index = win_index;
|
||||
if (ui_index == 10) {
|
||||
ui_index = 0;
|
||||
}
|
||||
win_vprint(console, '-', 0, NULL, 0, THEME_INCOMING, "", "<< private message: %s in %s (win %d)", nick, room, ui_index);
|
||||
|
||||
cons_alert();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user