aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-10-20 02:38:53 +0200
committerJustin M. Keyes <justinkz@gmail.com>2018-10-20 23:09:49 +0200
commitbbd8f4e9a407022e89463852e76ed7426607a760 (patch)
tree4f14b10c7334db7bf6644f2e91bf2d54df88c0e6
parent92f98b5bdf7c5ee918314da97b5dc19b1fb8b04a (diff)
downloadrneovim-bbd8f4e9a407022e89463852e76ed7426607a760.tar.gz
rneovim-bbd8f4e9a407022e89463852e76ed7426607a760.tar.bz2
rneovim-bbd8f4e9a407022e89463852e76ed7426607a760.zip
tui.c: Fix ext.set_underline_color for !has_colon_rgb
PVS/V523: The 'then' statement is equivalent to the 'else' statement.
-rw-r--r--src/nvim/tui/tui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/tui/tui.c b/src/nvim/tui/tui.c
index dd22f00de0..9c9b9d4a7b 100644
--- a/src/nvim/tui/tui.c
+++ b/src/nvim/tui/tui.c
@@ -1857,7 +1857,7 @@ static void augment_terminfo(TUIData *data, const char *term,
ut, "ext.set_underline_color", "\x1b[58:2:%p1%d:%p2%d:%p3%dm");
} else {
data->unibi_ext.set_underline_color = (int)unibi_add_ext_str(
- ut, "ext.set_underline_color", "\x1b[58:2:%p1%d:%p2%d:%p3%dm");
+ ut, "ext.set_underline_color", "\x1b[58;2;%p1%d;%p2%d;%p3%dm");
}
}
}