diff options
Diffstat (limited to 'src/macros.h')
-rw-r--r-- | src/macros.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/macros.h b/src/macros.h index 68e3f9756..b71946288 100644 --- a/src/macros.h +++ b/src/macros.h @@ -344,9 +344,11 @@ // Give an error in curwin is a popup window and evaluate to TRUE. #ifdef FEAT_PROP_POPUP -# define ERROR_IF_POPUP_WINDOW error_if_popup_window() +# define ERROR_IF_POPUP_WINDOW error_if_popup_window(FALSE) +# define ERROR_IF_ANY_POPUP_WINDOW error_if_popup_window(TRUE) #else # define ERROR_IF_POPUP_WINDOW 0 +# define ERROR_IF_ANY_POPUP_WINDOW 0 #endif #if defined(FEAT_PROP_POPUP) && defined(FEAT_TERMINAL) # define ERROR_IF_TERM_POPUP_WINDOW error_if_term_popup_window() |