X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Example%2FReWrite.cxx;h=7dfb4a0e1f5f2b6a6201ed66947d0490fe7d012b;hb=a9acdcbe8f622c5d32fddbade5f71eb8cbbf1ecf;hp=73596d4f1f58d4e30740a778fe38ec2bd7a82a70;hpb=5b8017eb6682f2c9bd8a91fc24a0fae44ce469c9;p=gdcm.git diff --git a/Example/ReWrite.cxx b/Example/ReWrite.cxx index 73596d4f..7dfb4a0e 100644 --- a/Example/ReWrite.cxx +++ b/Example/ReWrite.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: ReWrite.cxx,v $ Language: C++ - Date: $Date: 2005/06/10 14:10:22 $ - Version: $Revision: 1.4 $ + Date: $Date: 2005/06/14 09:04:59 $ + Version: $Revision: 1.5 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -74,12 +74,12 @@ int main(int argc, char *argv[]) else loadMode = 0; - bool rgb = am->ArgMgrDefined("RGB"); + bool rgb = ( 0 != am->ArgMgrDefined("RGB") ); if (am->ArgMgrDefined("debug")) gdcm::Debug::DebugOn(); - // if unused Param we give up + // if unused Params we give up if ( am->ArgMgrPrintUnusedLabels() ) { am->ArgMgrUsage(usage);