Permalink
Browse files

updated for version 7.3.774

Problem:    Tiny GUI version misses console dialog feature.
Solution:   Define FEAT_CON_DIALOG when apprpriate. (Christian Brabandt)
  • Loading branch information...
1 parent 0e601a6 commit 8eba316a0785dcf95299791c75b005895e1a256f @brammool brammool committed Jan 23, 2013
Showing with 14 additions and 9 deletions.
  1. +12 −0 src/feature.h
  2. +0 −9 src/gui.h
  3. +2 −0 src/version.c
View
@@ -792,6 +792,15 @@
#endif
/*
+ * On some systems, when we compile with the GUI, we always use it. On Mac
+ * there is no terminal version, and on Windows we can't figure out how to
+ * fork one off with :gui.
+ */
+#if defined(FEAT_GUI_MSWIN) || (defined(FEAT_GUI_MAC) && !defined(MACOS_X_UNIX))
+# define ALWAYS_USE_GUI
+#endif
+
+/*
* +dialog_gui Use GUI dialog.
* +dialog_con May use Console dialog.
* When none of these defined there is no dialog support.
@@ -820,6 +829,9 @@
|| defined(FEAT_GUI_GTK) || defined(FEAT_GUI_MSWIN) \
|| defined(FEAT_GUI_PHOTON) || defined(FEAT_GUI_MAC))
# define FEAT_GUI_TEXTDIALOG
+# ifndef ALWAYS_USE_GUI
+# define FEAT_CON_DIALOG
+# endif
#endif
/* Mac specific thing: Codewarrior interface. */
View
@@ -59,15 +59,6 @@
#endif
/*
- * On some systems, when we compile with the GUI, we always use it. On Mac
- * there is no terminal version, and on Windows we can't figure out how to
- * fork one off with :gui.
- */
-#if defined(FEAT_GUI_MSWIN) || (defined(FEAT_GUI_MAC) && !defined(MACOS_X_UNIX))
-# define ALWAYS_USE_GUI
-#endif
-
-/*
* On some systems scrolling needs to be done right away instead of in the
* main loop.
*/
View
@@ -726,6 +726,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 774,
+/**/
773,
/**/
772,

0 comments on commit 8eba316

Please sign in to comment.