tui.c: Fix ext.set_underline_color for !has_colon_rgb

PVS/V523: The 'then' statement is equivalent to the 'else' statement.
This commit is contained in:
Justin M. Keyes 2018-10-20 02:38:53 +02:00
parent 92f98b5bdf
commit bbd8f4e9a4

View File

@ -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");
}
}
}