]> Creatis software - gdcm.git/commitdiff
Hope bcc5.5 will have no longer objections
authorjpr <jpr>
Thu, 8 Sep 2005 14:00:39 +0000 (14:00 +0000)
committerjpr <jpr>
Thu, 8 Sep 2005 14:00:39 +0000 (14:00 +0000)
src/gdcmArgMgr.cxx

index 79ef553c6ee482dc23064859eebe2a71dd9ae98f..c871273b97d72972b00da496602900c94873ae18 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmArgMgr.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/08/28 16:56:05 $
-  Version:   $Revision: 1.13 $
+  Date:      $Date: 2005/09/08 14:00:39 $
+  Version:   $Revision: 1.14 $
   
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -122,12 +122,13 @@ ArgMgr::~ArgMgr()
  */
 int ArgMgr::ArgMgrDefined( const char *param )
 {
-  int i, trouve ;
+  int i;
+  bool trouve;
   char *temp;
   temp = Majuscule ( param ) ;
   for ( trouve = false, i = ArgCount-1; i>0; i-- )
   { 
-    trouve = ! strcmp( ArgLab[i], temp ) ;
+    trouve = ( strcmp( ArgLab[i], temp )==0 ) ;
     if ( trouve )
     {
       ArgUsed[i] = true ;