X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmTS.cxx;h=8946c61a9a95d6b47bbc2fc88ffc3f3bfabc68dc;hb=3b0f255e96f0f6cd246bd69c7dcc31443bc75bbb;hp=531c4ee76e04d7781002a7ad2b044261190395ed;hpb=d7a4d5d474ae599b723e52ebda8bd3fc6cee752a;p=gdcm.git diff --git a/src/gdcmTS.cxx b/src/gdcmTS.cxx index 531c4ee7..8946c61a 100644 --- a/src/gdcmTS.cxx +++ b/src/gdcmTS.cxx @@ -1,22 +1,25 @@ // gdcmTS.cxx //----------------------------------------------------------------------------- #include +#include +#include +#ifdef GDCM_NO_ANSI_STRING_STREAM +# include +# define ostringstream ostrstream +# else +# include +#endif #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,6 +37,7 @@ gdcmTS::gdcmTS(void) eatwhite(from); from.getline(buff, 1024, ' '); key = buff; + eatwhite(from); from.getline(buff, 1024, '\n'); name = buff;