diff options
-rw-r--r-- | tools/h4toh5/h4toh5pal.c | 2 | ||||
-rw-r--r-- | tools/h4toh5/h4toh5util.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/h4toh5/h4toh5pal.c b/tools/h4toh5/h4toh5pal.c index 556ecdc..bf90acd 100644 --- a/tools/h4toh5/h4toh5pal.c +++ b/tools/h4toh5/h4toh5pal.c @@ -144,7 +144,7 @@ int Palette_h4_to_h5(int32 file_id,int32 pal_id,hid_t h5g,char*pal_name) { strcpy(palette_label,PALABEL); strcpy(palette_class,PALETTE); strcpy(palette_type,PAL_TYPE); - strcpy(palette_colormodel,RGB); + strcpy(palette_colormodel,HDF5_RGB); /* convert palette annotation into attribute of palette dataset. Since there are no routines to find the exact tag of palette object, we will check three possible object tags of palette objects, that is: diff --git a/tools/h4toh5/h4toh5util.h b/tools/h4toh5/h4toh5util.h index 7e3def7..ba2420f 100644 --- a/tools/h4toh5/h4toh5util.h +++ b/tools/h4toh5/h4toh5util.h @@ -62,7 +62,7 @@ converter.*/ #define HDF4_PALETTE_TYPE "PAL_TYPE" #define PAL_TYPE "STANDARD8" #define PAL_COLORMODEL "PAL_COLORMODEL" -#define RGB "RGB" +#define HDF5_RGB "RGB" /* 3. reserved name for HDF5 object name when meeting with name clashing. */ #define HDF4_VGROUP "HDF4_VGROUP" |