diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-05-01 16:13:57 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-05-01 16:13:57 +0200 |
commit | 094535c010320967639e8e86f974d878e80baa72 (patch) | |
tree | efc3094b20355dcbeebb2c4ece4fcfc69bffedb5 /xicc/xcal.c | |
parent | c07d0c2d2f6f7b0eb6e92cc6204bf05037957e82 (diff) |
Imported Upstream version 1.7.0upstream/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); |