Skip to content
Snippets Groups Projects
Commit c13aded1 authored by Colin Harrison's avatar Colin Harrison Committed by Alan Hourihane
Browse files

Fix missing error condition

parent f5c5ffc1
No related branches found
No related tags found
No related merge requests found
...@@ -735,6 +735,8 @@ LoadColornameDB(void) ...@@ -735,6 +735,8 @@ LoadColornameDB(void)
} }
if ((stream = _XFopenFile (pathname, "r")) == NULL) { if ((stream = _XFopenFile (pathname, "r")) == NULL) {
/* can't open file */
XcmsColorDbState = XcmsDbInitFailure;
return(XcmsFailure); return(XcmsFailure);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment