1. ZyX_I
  2. vim

Commits

ZyX_I  committed 834842f

Fixed hardcopy.c

  • Participants
  • Parent commits 05f839c
  • Branches default

Comments (0)

Files changed (1)

File src/hardcopy.c

View file
 
     /* FIXME Support FEAT_XTERM_RGB */
 # if defined(FEAT_GUI) || defined(FEAT_XTERM_RGB)
-    if (gui.in_use
+    if (
+#  ifdef FEAT_GUI
+	    gui.in_use
+#  endif
+#  if defined(FEAT_GUI) && defined(FEAT_XTERM_RGB)
+	    ||
+#  endif
 #  ifdef FEAT_XTERM_RGB
-	    || p_guicolors
+	    p_guicolors
 #  endif
 	    )
     {