summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tty.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2009-11-27 09:41:03 +0000
committernicm <nicm@openbsd.org>2009-11-27 09:41:03 +0000
commita3ac0349068ab88a5eb4a519b7f19d43d5342e14 (patch)
tree5e886ad84dbd5bdb34147106b1ac8f5d2b3ae93b /usr.bin/tmux/tty.c
parenttypo in documentation; missing full stop. (diff)
downloadwireguard-openbsd-a3ac0349068ab88a5eb4a519b7f19d43d5342e14.tar.xz
wireguard-openbsd-a3ac0349068ab88a5eb4a519b7f19d43d5342e14.zip
Add a couple of comments.
Diffstat (limited to 'usr.bin/tmux/tty.c')
-rw-r--r--usr.bin/tmux/tty.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/tty.c b/usr.bin/tmux/tty.c
index e04fbf25262..9099bf93af2 100644
--- a/usr.bin/tmux/tty.c
+++ b/usr.bin/tmux/tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty.c,v 1.74 2009/11/26 22:47:14 nicm Exp $ */
+/* $OpenBSD: tty.c,v 1.75 2009/11/27 09:41:03 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -529,6 +529,7 @@ tty_write(void (*cmdfn)(
struct client *c;
u_int i;
+ /* wp can be NULL if updating the screen but not the terminal. */
if (wp == NULL)
return;