Remove duplicated line

This was duplicated on accident, and given that it runs outside of the
"if (cur_term != null)" block and accessed max_colors it could cause issues.
This commit is contained in:
Fabian Homborg
2020-09-02 17:36:43 +02:00
parent 244feee692
commit 4d22ebf49c

View File

@@ -366,8 +366,6 @@ static void update_fish_color_support(const environment_t &vars) {
FLOGF(term_support, L"256 color support: %d colors per terminfo entry for %ls", max_colors,
term.c_str());
}
FLOGF(term_support, L"256 color support: %d colors per terminfo entry for %ls", max_colors,
term.c_str());
// Handle $fish_term24bit
if (auto fish_term24bit = vars.get(L"fish_term24bit")) {