]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.2081: MS-Windows: unnecessary "#ifdef FEAT_GUI" in os_win32.c v9.1.2081
authorMuraoka Taro <koron.kaoriya@gmail.com>
Sun, 11 Jan 2026 19:44:06 +0000 (19:44 +0000)
committerChristian Brabandt <cb@256bit.org>
Sun, 11 Jan 2026 19:44:06 +0000 (19:44 +0000)
commit47c84295bb0444bc03598e82965c6175f8b96226
tree36ced2cb1e504a7c85eeb67dce86a6371a59f07b
parentf3961074fbb691303f77a6610a46aeec31c8a575
patch 9.1.2081: MS-Windows: unnecessary "#ifdef FEAT_GUI" in os_win32.c

Problem:  MS-Windows: "#ifdef FEAT_GUI" exists within "ifdef
          FEAT_GUI_MSWIN", which is confusing when reading the code.
          FEAT_GUI is always defined if FEAT_GUI_MSWIN is defined (see
          vim.h).  Therefore, this check and the else block are
          unnecessary.
Solution: Removed unnecessary "#ifdef FEAT_GUI" (Muraoka Taro).

closes: #19164

Signed-off-by: Muraoka Taro <koron.kaoriya@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/os_win32.c
src/version.c