From c13aded1b2f830ba5004abb0ec5518f9ea16087e Mon Sep 17 00:00:00 2001 From: Colin Harrison Date: Sat, 26 Apr 2008 18:56:05 +0100 Subject: [PATCH] Fix missing error condition --- src/xcms/cmsColNm.c | 2 ++ 1 file changed, 2 insertions(+) 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); }