Removed all beep handling from text printing. If you want to beep just

send "beep" signal.

/LAST -clear crashed if window contained only lastlog lines. Some other
minor cleanups.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1312 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-03-03 18:22:09 +00:00 committed by cras
commit fcd8810b6c
7 changed files with 30 additions and 33 deletions

View file

@ -45,12 +45,6 @@ static int sending_print_starting;
static void print_line(TEXT_DEST_REC *dest, const char *text);
void printbeep(void)
{
signal_emit_id(signal_gui_print_text, 6, active_win, NULL, NULL,
GINT_TO_POINTER(PRINTFLAG_BEEP), "", MSGLEVEL_NEVER);
}
static void printformat_module_dest(const char *module, TEXT_DEST_REC *dest,
int formatnum, va_list va)
{
@ -367,7 +361,7 @@ static void msg_beep_check(SERVER_REC *server, int level)
if (level != 0 && (level & MSGLEVEL_NOHILIGHT) == 0 &&
(beep_msg_level & level) &&
(beep_when_away || (server != NULL && !server->usermode_away))) {
printbeep();
signal_emit("beep", 0);
}
}