summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Harrison <colin.harrison-at-virgin.net>2008-04-26 18:56:05 +0100
committerAlan Hourihane <alanh@tungstengraphics.com>2008-04-26 18:56:05 +0100
commitc13aded1b2f830ba5004abb0ec5518f9ea16087e (patch)
tree14dc47bd1378bb75f6b9be5600e693f49300ebc7
parentf5c5ffc175cb383c92ea0fa8c08cfb087c5f3083 (diff)
Fix missing error condition
-rw-r--r--src/xcms/cmsColNm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xcms/cmsColNm.c b/src/xcms/cmsColNm.c
index eacff2f3..e3ca5183 100644
--- a/src/xcms/cmsColNm.c
+++ b/src/xcms/cmsColNm.c
@@ -735,6 +735,8 @@ LoadColornameDB(void)
}
if ((stream = _XFopenFile (pathname, "r")) == NULL) {
+ /* can't open file */
+ XcmsColorDbState = XcmsDbInitFailure;
return(XcmsFailure);
}