From ead3dace203890bc47e8628440dfcc1e50824b68 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Sun, 18 Mar 2001 13:57:12 +0000
Subject: [PATCH] OpenProblem and .msh

---
 Parser/OpenFile.cpp | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/Parser/OpenFile.cpp b/Parser/OpenFile.cpp
index 6ed53dabf6..4d6fb893de 100644
--- a/Parser/OpenFile.cpp
+++ b/Parser/OpenFile.cpp
@@ -1,4 +1,4 @@
-// $Id: OpenFile.cpp,v 1.8 2001-02-23 00:07:51 remacle Exp $
+// $Id: OpenFile.cpp,v 1.9 2001-03-18 13:57:12 geuzaine Exp $
 #include "Gmsh.h"
 #include "Const.h"
 #include "Context.h"
@@ -51,7 +51,6 @@ void ParseFile(char *f){
   }
   else if(!strncmp(String, "sms", 3))
   {
-   
     if(THEM->status < 0) mai3d(THEM, 0);
     Read_Mesh(THEM, yyin, FORMAT_SMS);
   }
@@ -92,7 +91,7 @@ void OpenProblem(char *name){
   strcpy(ext,name+(strlen(name)-4));
   if(!strcmp(ext,".GEO") || 
      !strcmp(ext,".geo") || 
-     !strcmp(ext,".msh") || 
+     //!strcmp(ext,".msh") || 
      !strcmp(ext,".pos")){
     CTX.basefilename[strlen(name)-4] = '\0';
   }
-- 
GitLab