mirror of
https://gitlab.freedesktop.org/xorg/lib/libx11.git
synced 2026-05-07 13:18:04 +02:00
Fix missing error condition
This commit is contained in:
parent
f5c5ffc175
commit
c13aded1b2
1 changed files with 2 additions and 0 deletions
|
|
@ -735,6 +735,8 @@ LoadColornameDB(void)
|
|||
}
|
||||
|
||||
if ((stream = _XFopenFile (pathname, "r")) == NULL) {
|
||||
/* can't open file */
|
||||
XcmsColorDbState = XcmsDbInitFailure;
|
||||
return(XcmsFailure);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue