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

256 -> sizeof(string)
parent 09524d22
No related branches found
No related tags found
No related merge requests found
// $Id: Read_Mesh.cpp,v 1.77 2004-07-01 15:00:23 geuzaine Exp $
// $Id: Read_Mesh.cpp,v 1.78 2004-10-08 02:41:20 geuzaine Exp $
//
// Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
//
......@@ -468,7 +468,7 @@ void Read_Mesh_MSH(Mesh * M, FILE * fp)
}
do {
fgets(String, 256, fp);
fgets(String, sizeof(String), fp);
if(feof(fp))
Msg(GERROR, "Prematured end of mesh file");
} while(String[0] != '$');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment