From f0324663079d8b1bce0fa2e19c70e073a4b700d2 Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Sun, 23 Oct 2016 16:30:44 +0200 Subject: degesch: comments, no functional change --- degesch.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/degesch.c b/degesch.c index 8385f83..db66483 100644 --- a/degesch.c +++ b/degesch.c @@ -3809,6 +3809,7 @@ log_formatter (struct app_context *ctx, && !(flags & BUFFER_LINE_UNIMPORTANT); bool important = (flags & BUFFER_LINE_HIGHLIGHT) || unseen_pm; if (ctx->beep_on_highlight && important) + // XXX: this may disturb any other foreground process CALL (ctx->input, ding); bool can_leak = false; @@ -6727,7 +6728,7 @@ irc_handle_part (struct server *s, const struct irc_message *msg) hard_assert ((channel && buffer) || (channel && !buffer) || (!channel && !buffer)); - // It would be is weird for this to be false + // It would be weird for this to be false if (user && channel) { if (irc_is_this_us (s, msg->prefix)) -- cgit v1.2.3-70-g09d2