diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-05-01 16:24:15 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-05-01 16:24:15 +0200 |
commit | a30ba67504ffd12c4db499adbb5ce47a7d1f6036 (patch) | |
tree | 9ae1a7e3849dda6bbb5c578232f6f2fa5b2e7e7e /xicc/xcal.c | |
parent | 89e99e8a827859729729dfc92d74be4a8f96f1a4 (diff) | |
parent | 094535c010320967639e8e86f974d878e80baa72 (diff) |
New release 1.7.0
Diffstat (limited to 'xicc/xcal.c')
-rw-r--r-- | xicc/xcal.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xicc/xcal.c b/xicc/xcal.c index 06d343c..4400745 100644 --- a/xicc/xcal.c +++ b/xicc/xcal.c @@ -301,6 +301,9 @@ static int xcal_read(xcal *p, char *filename) { return p->errc; } + if (tcg->ntables < 1) + return 1; + rv = xcal_read_cgats(p, tcg, table, filename); tcg->del(tcg); |