Skip to content
Snippets Groups Projects
Commit 53081bd4 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

small things
parent 12db5ad0
No related branches found
No related tags found
No related merge requests found
// $Id: GModelIO_MED.cpp,v 1.2 2007-01-29 17:16:02 geuzaine Exp $ // $Id: GModelIO_MED.cpp,v 1.3 2007-02-03 11:21:40 geuzaine Exp $
// //
// Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle
// //
...@@ -18,6 +18,9 @@ ...@@ -18,6 +18,9 @@
// USA. // USA.
// //
// Please report all bugs and problems to <gmsh@geuz.org>. // Please report all bugs and problems to <gmsh@geuz.org>.
//
// Contributor(s):
// Pascale Noyret
#include <map> #include <map>
#include <string> #include <string>
......
#ifndef _GMODELIO_MED_H_ #ifndef _GMODELIO_MED_H_
#define _GMODELIO_MED_H_ #define _GMODELIO_MED_H_
// Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
// USA.
//
// Please report all bugs and problems to <gmsh@geuz.org>.
//
// Contributor(s):
// Pascale Noyret
#include <string> #include <string>
#include <map> #include <map>
#include <vector> #include <vector>
......
// $Id: GeoStringInterface.cpp,v 1.5 2007-02-02 23:50:33 geuzaine Exp $ // $Id: GeoStringInterface.cpp,v 1.6 2007-02-03 11:21:40 geuzaine Exp $
// //
// Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
// //
...@@ -114,12 +114,12 @@ void add_infile(char *text, char *fich, bool deleted_something) ...@@ -114,12 +114,12 @@ void add_infile(char *text, char *fich, bool deleted_something)
if(strlen(ext) && strcmp(ext, ".geo") && strcmp(ext, ".GEO")){ if(strlen(ext) && strcmp(ext, ".geo") && strcmp(ext, ".GEO")){
char question[1024]; char question[1024];
sprintf(question, sprintf(question,
"Are you sure you want to append a scripting command\n" "Are you sure you want to append a scripting command to a\n"
"to a non-geometry (`.geo') file?\n\n" "non-geometry file?\n\n"
"If not, you should create a `.geo' file and merge\n" "If not, you should use a `.geo' file containing the command\n"
"`%s' in it first.\n\n" "Merge \"%s\".\n\n"
"(To disable this warning in the future, select `Enable\n" "(To disable this warning in the future, select `Enable expert\n"
"expert mode' in the option dialog.)", fich); "mode' in the option dialog.)", fich);
if(!GetBinaryAnswer(question, "Append", "Cancel", false)){ if(!GetBinaryAnswer(question, "Append", "Cancel", false)){
fclose(file); fclose(file);
return; return;
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment