fix(tui): set taskbar, icon in Windows #22270

Problem: After TUI refactor commit, code for setting Windows taskbar
icon wasn't being executed because of a backdated conditional.

Solution: Update the conditional to take TUI refactor into account.

Ref: https://github.com/neovim/neovim/pull/20634#discussion_r1088993820
This commit is contained in:
Enan Ajmain
2023-02-15 21:39:23 +06:00
committed by GitHub
parent a289e82142
commit ec782211f2

View File

@@ -589,7 +589,7 @@ int main(int argc, char **argv)
}
#ifdef MSWIN
if (use_builtin_ui) {
if (use_remote_ui || use_builtin_ui) {
os_icon_init();
}
os_title_save();