X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmTS.cxx;h=0712d1db9705799b46dfdb7d8e15d63227a8f64d;hb=b7518dc8f2304a666cafac4b1b18ac7d81983555;hp=7445b59c4787afe02cdccb6b3b5f742b66e93d6a;hpb=76f7307f9485e39bba565423a91989f8c9c18c21;p=gdcm.git diff --git a/src/gdcmTS.cxx b/src/gdcmTS.cxx index 7445b59c..0712d1db 100644 --- a/src/gdcmTS.cxx +++ b/src/gdcmTS.cxx @@ -1,22 +1,15 @@ // gdcmTS.cxx //----------------------------------------------------------------------------- #include +#include +#include #include "gdcmTS.h" +#include "gdcmDebug.h" #include "gdcmUtil.h" +#include "gdcmDictSet.h" -#ifndef PUB_DICT_PATH -# define PUB_DICT_PATH "../Dicts/" -#endif -#define DICT_TS "dicomTS.dic" -#include -#ifdef GDCM_NO_ANSI_STRING_STREAM -# include -# define ostringstream ostrstream -# else -# include -#endif //----------------------------------------------------------------------------- // Constructor / Destructor @@ -34,9 +27,7 @@ gdcmTS::gdcmTS(void) eatwhite(from); from.getline(buff, 1024, ' '); key = buff; - if(key.size()%2==1) - key.push_back(0); - + eatwhite(from); from.getline(buff, 1024, '\n'); name = buff;