diff options
author | Marti <marti.maria@tktbrainpower.com> | 2015-11-15 19:42:37 +0300 |
---|---|---|
committer | Marti <marti.maria@tktbrainpower.com> | 2015-11-15 19:42:37 +0300 |
commit | 32ee8341c25173afc9164709127f47f50c372100 (patch) | |
tree | b486f2d502485286376952c4a47d374d4ce2d56e /utils/common | |
parent | e228b485db717d81e58407986a6fff216ff77c36 (diff) |
Upgrade to modern autotools
Tested on a mac. Partial work to 2.8 release
Diffstat (limited to 'utils/common')
-rw-r--r-- | utils/common/vprf.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/common/vprf.c b/utils/common/vprf.c index bec26f6..ebac77e 100644 --- a/utils/common/vprf.c +++ b/utils/common/vprf.c @@ -203,6 +203,11 @@ void PrintColorantTable(cmsHPROFILE hInput, cmsTagSignature Sig, const char* Tit void PrintProfileInformation(cmsHPROFILE hInput) { + if (hInput == NULL) { + fprintf(stderr, "*Wrong or corrupted profile*\n"); + return; + } + PrintInfo(hInput, cmsInfoDescription); PrintInfo(hInput, cmsInfoManufacturer); PrintInfo(hInput, cmsInfoModel); |