aboutsummaryrefslogtreecommitdiff
path: root/degesch.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2016-10-23 16:30:44 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2016-10-23 17:14:24 +0200
commitf0324663079d8b1bce0fa2e19c70e073a4b700d2 (patch)
treee7ab6e36cc9a911649664ed75b772c280c2acdbe /degesch.c
parentc0f4b554effb1513ceca9d32162dab977aa45cf1 (diff)
downloadxK-f0324663079d8b1bce0fa2e19c70e073a4b700d2.tar.gz
xK-f0324663079d8b1bce0fa2e19c70e073a4b700d2.tar.xz
xK-f0324663079d8b1bce0fa2e19c70e073a4b700d2.zip
degesch: comments, no functional change
Diffstat (limited to 'degesch.c')
-rw-r--r--degesch.c3
1 files changed, 2 insertions, 1 deletions
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))