From f870d165780117261362ba9d6b6a9eeccd19b1b1 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Sun, 29 Feb 2004 16:51:35 +0000
Subject: [PATCH] fuck, missed an #ifdef USE_FLTK for the non-gui version

---
 Common/Options.cpp         | 4 +++-
 Makefile                   | 4 ++--
 doc/gmsh.html              | 2 +-
 doc/texinfo/shortcuts.texi | 2 +-
 4 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/Common/Options.cpp b/Common/Options.cpp
index 7d77277f0a..5b629e2796 100644
--- a/Common/Options.cpp
+++ b/Common/Options.cpp
@@ -1,4 +1,4 @@
-// $Id: Options.cpp,v 1.136 2004-02-28 00:48:47 geuzaine Exp $
+// $Id: Options.cpp,v 1.137 2004-02-29 16:51:34 geuzaine Exp $
 //
 // Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
 //
@@ -1607,6 +1607,7 @@ char *opt_solver_fifth_button_command4(OPT_ARGS_STR)
   return opt_solver_fifth_button_command(4, action, val);
 }
 
+#if defined(HAVE_FLTK)
 int _gui_action_valid(int action, int num)
 {
   return ((WID) &&
@@ -1614,6 +1615,7 @@ int _gui_action_valid(int action, int num)
 	  (action & GMSH_GUI) && 
 	  (num == WID->view_number));
 }
+#endif
 
 char *opt_view_name(OPT_ARGS_STR)
 {
diff --git a/Makefile b/Makefile
index 043c09530f..78357149d0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.322 2004-02-28 00:48:47 geuzaine Exp $
+# $Id: Makefile,v 1.323 2004-02-29 16:51:34 geuzaine Exp $
 #
 # Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
 #
@@ -23,7 +23,7 @@ include variables
 
 GMSH_MAJOR_VERSION = 1
 GMSH_MINOR_VERSION = 51
-GMSH_PATCH_VERSION = 0
+GMSH_PATCH_VERSION = 1
 
 GMSH_SHORT_LICENSE = "GNU General Public License"
 
diff --git a/doc/gmsh.html b/doc/gmsh.html
index 50d457298d..ee58c8967a 100644
--- a/doc/gmsh.html
+++ b/doc/gmsh.html
@@ -125,7 +125,7 @@ are included in the archives.
 <li><a href="/gmsh/bin/Linux/gmsh-1.51.0-1.i386.rpm">Linux RPM (i386, Red Hat >= 7.3)</a>
 <li><a href="/gmsh/bin/Linux/gmsh-1.51.0-Linux.tgz">Linux tarball (i386, glibc >= 2.2)</a> 
 <li><a href="/gmsh/bin/MacOSX/gmsh-1.51.0-MacOSX.tgz">Mac OS X tarball (Mac OS X >= 10.2)</a>
-<li><a href="/gmsh/src/gmsh-1.51.0-source.tgz">Source tarball (all platforms)</a>
+<li><a href="/gmsh/src/gmsh-1.51.1-source.tgz">Source tarball (all platforms)</a>
     <a href="#build-footnote" name="build-footmark"><sup>2</sup></a>
 </ul>
 
diff --git a/doc/texinfo/shortcuts.texi b/doc/texinfo/shortcuts.texi
index feaa7a3341..67ebededb6 100644
--- a/doc/texinfo/shortcuts.texi
+++ b/doc/texinfo/shortcuts.texi
@@ -32,7 +32,7 @@ merge file
 show general options
 
 @item Ctrl+n
-show new file
+new file
 
 @item Shift+o
 show option window
-- 
GitLab