From 29bd78a19cf833691f595fa8f5a5973f6cfd8787 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Fri, 22 Feb 2002 23:07:01 +0000
Subject: [PATCH] oups: CTX.r[3]!

---
 Common/Options.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Common/Options.cpp b/Common/Options.cpp
index 248d29e124..d235e5d347 100644
--- a/Common/Options.cpp
+++ b/Common/Options.cpp
@@ -1,4 +1,4 @@
-// $Id: Options.cpp,v 1.72 2002-02-22 16:44:09 geuzaine Exp $
+// $Id: Options.cpp,v 1.73 2002-02-22 23:07:01 geuzaine Exp $
 
 #include "Gmsh.h"
 #include "GmshUI.h"
@@ -965,7 +965,7 @@ double opt_general_rotation1(OPT_ARGS_NUM){
 }
 double opt_general_rotation2(OPT_ARGS_NUM){
   if(action & GMSH_SET) CTX.r[2] = val;
-  return CTX.r[3];
+  return CTX.r[2];
 }
 double opt_general_quaternion0(OPT_ARGS_NUM){
   if(action & GMSH_SET) CTX.quaternion[0] = val;
-- 
GitLab