From 9bc17d5aaee8b040902efe7f684a048a647d44f9 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Thu, 13 May 2004 17:06:05 +0000 Subject: [PATCH] fixed small bug in colortable_diff --- Common/ColorTable.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Common/ColorTable.cpp b/Common/ColorTable.cpp index dede6225a0..be5e02b77c 100644 --- a/Common/ColorTable.cpp +++ b/Common/ColorTable.cpp @@ -1,4 +1,4 @@ -// $Id: ColorTable.cpp,v 1.21 2004-05-12 04:31:21 geuzaine Exp $ +// $Id: ColorTable.cpp,v 1.22 2004-05-13 17:06:05 geuzaine Exp $ // // Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle // @@ -273,7 +273,7 @@ int ColorTable_Diff(GmshColorTable * ct1, GmshColorTable * ct2) { if(ct1->size != ct2->size) return 1; for(int i = 0; i < ct1->size; i++) - if(ct1->table != ct2->table) return 1; + if(ct1->table[i] != ct2->table[i]) return 1; return 0; } -- GitLab