From 0e90a1f1c52e120d4b66af7bbce7472f4e4a0b5b Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Thu, 21 Jun 2012 12:22:42 +0000
Subject: [PATCH]

---
 Common/GmshMessage.cpp | 7 +++----
 doc/VERSIONS.txt       | 3 ++-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/Common/GmshMessage.cpp b/Common/GmshMessage.cpp
index 9e9952ecd8..97a999ea10 100644
--- a/Common/GmshMessage.cpp
+++ b/Common/GmshMessage.cpp
@@ -685,10 +685,9 @@ void Msg::ExchangeOnelabParameter(const std::string &key,
   if(fopt.count("Visible")) ps[0].setVisible(fopt["Visible"][0] ? true : false);
   if(fopt.count("ReadOnly")) {
     ps[0].setReadOnly(fopt["ReadOnly"][0] ? true : false);
-    // If the parameter is set "read-only" here,
-    // the local value is used instead of that from the server
-    if(ps[0].getReadOnly())
-      ps[0].setValue(val[0]); 
+    // If the parameter is set "read-only" here, the local value is used instead
+    // of that from the server
+    if(ps[0].getReadOnly()) ps[0].setValue(val[0]);
   }
   if(copt.count("Help")) ps[0].setHelp(copt["Help"][0]);
   if(copt.count("Label")) ps[0].setLabel(copt["Label"][0]);
diff --git a/doc/VERSIONS.txt b/doc/VERSIONS.txt
index c2d37603fe..87144e5050 100644
--- a/doc/VERSIONS.txt
+++ b/doc/VERSIONS.txt
@@ -7,7 +7,8 @@ field export; new experimental stereo+camera visualization mode; added
 experimental BAMG & MMG3D support for anisotropic mesh generation; new OCC cut &
 merge algorithm imported from Salome; new ability to connect extruded meshes to
 tetrahedral grids using pyramids; new homology solver; Abaqus (INP) mesh export;
-bug fixes and small improvements all over the place.
+new Python and Java wrappers; bug fixes and small improvements all over the
+place.
 
 2.5.0 (Oct 15, 2010): new compound geometrical entities (for remeshing and/or
 trans-patch meshing); improved mesh reclassification tool; new client/server
-- 
GitLab