aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2020-05-15 17:49:58 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2020-05-15 17:49:58 +0100
commit7317a0865cd5bcdff065be83e2105336f0038eae (patch)
tree0f6068a507b2c314fe413d25a19ec964c154fe07
parent0b828b91a5f9bdf8d62e4352a842ec98a32b0b92 (diff)
downloadrtmux-7317a0865cd5bcdff065be83e2105336f0038eae.tar.gz
rtmux-7317a0865cd5bcdff065be83e2105336f0038eae.tar.bz2
rtmux-7317a0865cd5bcdff065be83e2105336f0038eae.zip
Get == and != the right way round.
-rw-r--r--input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input.c b/input.c
index ffa22995..57726233 100644
--- a/input.c
+++ b/input.c
@@ -1610,7 +1610,7 @@ input_csi_dispatch(struct input_ctx *ictx)
break;
case INPUT_CSI_XDA:
n = input_get(ictx, 0, 0, 0);
- if (n != 0)
+ if (n == 0)
input_reply(ictx, "\033P>|tmux %s\033\\", getversion());
break;