X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmArgMgr.cxx;h=3ed2d808dca3be955067b6e5e6a923c844774164;hb=bdc259a03a952468d01ec9b4581563548c393021;hp=b2df9c7c379205ad0cb7a4e9f74e5394623a5e6a;hpb=d8f1da6691e4ec0aeacf4b3e1c68fc2812f28cc6;p=gdcm.git diff --git a/src/gdcmArgMgr.cxx b/src/gdcmArgMgr.cxx index b2df9c7c..3ed2d808 100644 --- a/src/gdcmArgMgr.cxx +++ b/src/gdcmArgMgr.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmArgMgr.cxx,v $ Language: C++ - Date: $Date: 2005/07/20 13:29:42 $ - Version: $Revision: 1.11 $ + Date: $Date: 2005/09/20 09:21:35 $ + Version: $Revision: 1.15 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -122,24 +122,25 @@ 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-- ) + for ( i = ArgCount-1; i>0; i-- ) { - trouve = ! strcmp( ArgLab[i], temp ) ; + trouve = ( strcmp( ArgLab[i], temp )==0 ) ; if ( trouve ) { ArgUsed[i] = true ; for ( int j=1; j