From 382011a13d803187c7fea709b835d49e9519f152 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Tue, 5 Dec 2000 23:01:06 +0000
Subject: [PATCH] typos + corrections pour gcc 2.96 (GLenum)

---
 Graphics/Draw.cpp | 6 +++---
 Graphics/Mesh.cpp | 4 ++--
 Unix/Main.cpp     | 4 ++--
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/Graphics/Draw.cpp b/Graphics/Draw.cpp
index de6abda2ef..7dd263ace5 100644
--- a/Graphics/Draw.cpp
+++ b/Graphics/Draw.cpp
@@ -1,4 +1,4 @@
-/* $Id: Draw.cpp,v 1.8 2000-12-05 16:59:11 remacle Exp $ */
+/* $Id: Draw.cpp,v 1.9 2000-12-05 23:01:06 geuzaine Exp $ */
 
 #include "Gmsh.h"
 #include "GmshUI.h"
@@ -203,8 +203,8 @@ void InitShading(void){
   glEnable(GL_NORMALIZE);
   for(i = 0 ; i < 6 ; i++){
     if(CTX.light[i]){
-      glLightfv(GL_LIGHT0 + i, GL_POSITION, CTX.light_position[i]);
-      glEnable(GL_LIGHT0 + i );
+      glLightfv((GLenum)(GL_LIGHT0 + i), GL_POSITION, CTX.light_position[i]);
+      glEnable((GLenum)(GL_LIGHT0 + i));
     }
   }
 
diff --git a/Graphics/Mesh.cpp b/Graphics/Mesh.cpp
index 22867a0275..3546e0ce3e 100644
--- a/Graphics/Mesh.cpp
+++ b/Graphics/Mesh.cpp
@@ -1,4 +1,4 @@
-/* $Id: Mesh.cpp,v 1.10 2000-12-04 09:51:51 geuzaine Exp $ */
+/* $Id: Mesh.cpp,v 1.11 2000-12-05 23:01:06 geuzaine Exp $ */
 
 #include "Gmsh.h"
 #include "GmshUI.h"
@@ -61,7 +61,7 @@ void Draw_Mesh (Mesh *M) {
 
   for(i = 0 ; i < 6 ; i++)
     if(CTX.clip[i])
-      glClipPlane(GL_CLIP_PLANE0 + i, CTX.clip_plane[i]);
+      glClipPlane((GLenum)(GL_CLIP_PLANE0 + i), CTX.clip_plane[i]);
 
   glPointSize(2);
   glLineWidth(1);
diff --git a/Unix/Main.cpp b/Unix/Main.cpp
index 8a90b7decc..41ac30f0db 100644
--- a/Unix/Main.cpp
+++ b/Unix/Main.cpp
@@ -1,4 +1,4 @@
-/* $Id: Main.cpp,v 1.19 2000-12-05 19:38:25 geuzaine Exp $ */
+/* $Id: Main.cpp,v 1.20 2000-12-05 23:01:06 geuzaine Exp $ */
 
 #include <signal.h>
 
@@ -62,7 +62,7 @@ char gmsh_help[]      =
   "  -nodb                 disable double buffering\n"
   "  -noov                 disable overlay visual\n"
   "  -alpha                enable alpha blending\n"
-  "  -notrack              use old interactive rotation mode\n"
+  "  -notrack              don't use trackball mode for rotations\n"
   "  -geometry geom        specify main window geometry\n"
   "  -viewport 9*float     specify rotation, translation and scale\n"
   "  -display disp         specify display\n"
-- 
GitLab