From 8b0ab1f5f2e9219536f333ad7edd4358bb81bc10 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Thu, 31 Aug 2006 14:15:29 +0000
Subject: [PATCH] refer to .mesh as MEDIT format, not INRIA format

---
 Fltk/Callbacks.cpp    | 6 +++---
 Geo/GModelIO.cpp      | 4 ++--
 Parser/CreateFile.cpp | 4 ++--
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/Fltk/Callbacks.cpp b/Fltk/Callbacks.cpp
index e3aed1d687..e53f049d68 100644
--- a/Fltk/Callbacks.cpp
+++ b/Fltk/Callbacks.cpp
@@ -1,4 +1,4 @@
-// $Id: Callbacks.cpp,v 1.456 2006-08-29 10:39:48 remacle Exp $
+// $Id: Callbacks.cpp,v 1.457 2006-08-31 14:15:29 geuzaine Exp $
 //
 // Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle
 //
@@ -609,7 +609,7 @@ static char *file_types =
   "\tGmsh mesh (*.msh)"
   "\tGmsh post-processing (*.pos)"
   "\tSTL surface mesh (*.stl)"
-  "\tINRIA mesh (*.mesh)"
+  "\tMEDIT mesh (*.mesh)"
   "\tJPEG (*.jpg)"
   "\tPNG (*.png)"
   "\tBMP (*.bmp)"
@@ -777,7 +777,7 @@ void file_save_as_cb(CALLBACK_ARGS)
     {"Gmsh unrolled geometry (*.geo)", _save_geo},
     {"  ", _save_auto},
     {"I-DEAS universal mesh (*.unv)", _save_unv},
-    {"INRIA mesh (*.mesh)", _save_mesh},
+    {"MEDIT mesh (*.mesh)", _save_mesh},
     {"STL surface mesh (*.stl)", _save_stl},
     {"VRML surface mesh (*.wrl)", _save_vrml},
     {"   ", _save_auto},
diff --git a/Geo/GModelIO.cpp b/Geo/GModelIO.cpp
index 6bb0cf33c5..5b0744cbfa 100644
--- a/Geo/GModelIO.cpp
+++ b/Geo/GModelIO.cpp
@@ -1,4 +1,4 @@
-// $Id: GModelIO.cpp,v 1.30 2006-08-24 16:56:20 geuzaine Exp $
+// $Id: GModelIO.cpp,v 1.31 2006-08-31 14:15:29 geuzaine Exp $
 //
 // Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle
 //
@@ -1237,7 +1237,7 @@ int GModel::readMESH(const std::string &name)
   sscanf(buffer, "%s %d", str, &format);
 
   if(format != 1){
-    Msg(GERROR, "Non-ASCII INRIA mesh import is not yet available");
+    Msg(GERROR, "Non-ASCII MEDIT mesh import is not yet available");
     return 0;
   }
 
diff --git a/Parser/CreateFile.cpp b/Parser/CreateFile.cpp
index a81a12a112..b0e988f8b2 100644
--- a/Parser/CreateFile.cpp
+++ b/Parser/CreateFile.cpp
@@ -1,4 +1,4 @@
-// $Id: CreateFile.cpp,v 1.4 2006-08-23 19:53:39 geuzaine Exp $
+// $Id: CreateFile.cpp,v 1.5 2006-08-31 14:15:29 geuzaine Exp $
 //
 // Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle
 //
@@ -81,7 +81,7 @@ void GetDefaultFileName(int format, char *name)
   char ext[32] = "";
   strcpy(name, CTX.base_filename);
   switch(format){
-  case FORMAT_GEO:  strcpy(ext, ".geof"); break; // flattened geo
+  case FORMAT_GEO:  strcpy(ext, ".geo_unrolled"); break;
   case FORMAT_MSH:  strcpy(ext, ".msh"); break;
   case FORMAT_POS:  strcpy(ext, ".pos"); break;
   case FORMAT_OPT:  strcpy(ext, ".opt"); break;
-- 
GitLab