Fix for recent issue where random text might appear underlined.

This commit is contained in:
ridiculousfish 2014-01-15 23:33:34 -08:00
parent bd313b0b3d
commit 8e77aca854

View file

@ -359,7 +359,7 @@ rgb_color_t highlight_get_color(highlight_spec_t highlight, bool is_background)
size_t idx = highlight_get_primary(highlight);
if (idx >= VAR_COUNT)
{
idx = 0;
return rgb_color_t::normal();
}
env_var_t val_wstr = env_get_string(highlight_var[idx]);