X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Example%2FTestWrite.cxx;h=bbdf452f22b81704f8f88318fa6f3e3726f004de;hb=a8569ff195c346229a951d7c6925d93fb5b7dea5;hp=cb9b9e697bdde0093188e1bf6c54218644dcbdea;hpb=64429225702c1ca65ea3b6882be0e19c94509843;p=gdcm.git diff --git a/Example/TestWrite.cxx b/Example/TestWrite.cxx index cb9b9e69..bbdf452f 100644 --- a/Example/TestWrite.cxx +++ b/Example/TestWrite.cxx @@ -46,8 +46,9 @@ int main(int argc, char* argv[]) toto = argv[1]; - e1 = new gdcmHeader(toto.c_str(), false, true); - if (!e1->IsReadable()) { + e1 = new gdcmHeader( toto.c_str() ); + if (!e1->IsReadable()) + { std::cerr << "Sorry, not a Readable DICOM / ACR File" <