From 432f9ff0c59215cd8bfd2073354fa125e26e9e0a Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Mon, 8 Dec 2003 15:51:17 +0000
Subject: [PATCH] List_Replace->List_Insert

---
 Mesh/Read_Mesh.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Mesh/Read_Mesh.cpp b/Mesh/Read_Mesh.cpp
index 11453498b5..b27be5acda 100644
--- a/Mesh/Read_Mesh.cpp
+++ b/Mesh/Read_Mesh.cpp
@@ -1,4 +1,4 @@
-// $Id: Read_Mesh.cpp,v 1.64 2003-12-08 15:31:57 geuzaine Exp $
+// $Id: Read_Mesh.cpp,v 1.65 2003-12-08 15:51:17 geuzaine Exp $
 //
 // Copyright (C) 1997-2003 C. Geuzaine, J.-F. Remacle
 //
@@ -72,7 +72,7 @@ void addPhysicalGroup(Mesh * M, int Type, int Physical, int Elementary)
   pg->Num = Physical;
   if((ppg = (PhysicalGroup **) List_PQuery(M->PhysicalGroups, &pg,
                                            comparePhysicalGroup))) {
-    List_Replace((*ppg)->Entities, &Elementary, fcmp_int);
+    List_Insert((*ppg)->Entities, &Elementary, fcmp_int);
   }
   else {
     List_T *tmp = List_Create(1, 1, sizeof(int));
-- 
GitLab