Changeset 42437
- Timestamp:
- Mar 24, 2023, 9:47:03 AM (3 years ago)
- Location:
- branches/eam_branches/ipp-20230313/Ohana/src/kapa2/src
- Files:
-
- 2 edited
-
FindColormap.c.in (modified) (2 diffs)
-
SetColormap.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20230313/Ohana/src/kapa2/src/FindColormap.c.in
r42427 r42437 36 36 } 37 37 38 /* check permission to execfile */38 /* check permission to read file */ 39 39 status = stat (name, &filestat); 40 40 if (status == 0) { /* file exists, are permissions OK? */ … … 43 43 ( (filestat.st_mode & S_IROTH))) { 44 44 return (TRUE); 45 } else { 46 return (FALSE); 47 } 45 } 48 46 } 47 return (FALSE); 49 48 } 50 49 -
branches/eam_branches/ipp-20230313/Ohana/src/kapa2/src/SetColormap.c
r42427 r42437 216 216 KapaColorMapMode mode = KAPA_CM_STATIC; 217 217 218 // we should already have handled the static colormaps by this point 218 219 char *basename = ParseColormapName (graphic->colormapName, &mode); 219 220 if (mode == KAPA_CM_STATIC) { 220 fprintf (stderr, "unknown static colormap name %s\n", &graphic->colormapName);221 fprintf (stderr, "unknown static colormap name %s\n", graphic->colormapName); 221 222 free (basename); 222 223 return FALSE; … … 338 339 return (TRUE); 339 340 } 340
Note:
See TracChangeset
for help on using the changeset viewer.
