mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.1.0941: macros for MS-Windows are inconsistent
Problem: Macros for MS-Windows are inconsistent, using "32", "3264 and others. Solution: Use MSWIN for all MS-Windows builds. Use FEAT_GUI_MSWIN for the GUI build. (Hirohito Higashi, closes #3932)
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef PROTO
|
||||
# if defined(FEAT_TITLE) && !defined(FEAT_GUI_W32)
|
||||
# if defined(FEAT_TITLE) && !defined(FEAT_GUI_MSWIN)
|
||||
# include <shellapi.h>
|
||||
# endif
|
||||
|
||||
@@ -3091,7 +3091,7 @@ get_logfont(
|
||||
}
|
||||
if (STRCMP(name, "*") == 0)
|
||||
{
|
||||
#if defined(FEAT_GUI_W32)
|
||||
#if defined(FEAT_GUI_MSWIN)
|
||||
CHOOSEFONT cf;
|
||||
/* if name is "*", bring up std font dialog: */
|
||||
vim_memset(&cf, 0, sizeof(cf));
|
||||
|
Reference in New Issue
Block a user