Fix missing error condition

This commit is contained in:
Colin Harrison 2008-04-26 18:56:05 +01:00 committed by Alan Hourihane
parent f5c5ffc175
commit c13aded1b2

View file

@ -735,6 +735,8 @@ LoadColornameDB(void)
}
if ((stream = _XFopenFile (pathname, "r")) == NULL) {
/* can't open file */
XcmsColorDbState = XcmsDbInitFailure;
return(XcmsFailure);
}