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

Add a couple of 'else if's
parent 38838749
No related branches found
No related tags found
No related merge requests found
// $Id: Read_Mesh.cpp,v 1.67 2003-12-11 17:15:38 geuzaine Exp $ // $Id: Read_Mesh.cpp,v 1.68 2003-12-12 02:25:03 geuzaine Exp $
// //
// Copyright (C) 1997-2003 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997-2003 C. Geuzaine, J.-F. Remacle
// //
...@@ -185,7 +185,7 @@ void Read_Mesh_MSH(Mesh * M, FILE * fp) ...@@ -185,7 +185,7 @@ void Read_Mesh_MSH(Mesh * M, FILE * fp)
/* POINTS -- this field is deprecated, and will eventually disappear */ /* POINTS -- this field is deprecated, and will eventually disappear */
if(!strncmp(&String[1], "PTS", 3) || else if(!strncmp(&String[1], "PTS", 3) ||
!strncmp(&String[1], "Points", 6)) { !strncmp(&String[1], "Points", 6)) {
fscanf(fp, "%d", &Nbr_Nodes); fscanf(fp, "%d", &Nbr_Nodes);
...@@ -204,7 +204,7 @@ void Read_Mesh_MSH(Mesh * M, FILE * fp) ...@@ -204,7 +204,7 @@ void Read_Mesh_MSH(Mesh * M, FILE * fp)
/* NODES */ /* NODES */
if(!strncmp(&String[1], "NOD", 3) || else if(!strncmp(&String[1], "NOD", 3) ||
!strncmp(&String[1], "NOE", 3) || !strncmp(&String[1], "NOE", 3) ||
!strncmp(&String[1], "Nodes", 5)) { !strncmp(&String[1], "Nodes", 5)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment