top: Fix double-fclose() in configs_read().
It happens only if RCFILE_NOERR is defined (it is not, by default).
This commit is contained in:
parent
8476e6f4f9
commit
e877d4f4c4
@ -3884,7 +3884,6 @@ default_or_error:
|
|||||||
#ifdef RCFILE_NOERR
|
#ifdef RCFILE_NOERR
|
||||||
{ RCF_t rcdef = DEF_RCFILE;
|
{ RCF_t rcdef = DEF_RCFILE;
|
||||||
int i;
|
int i;
|
||||||
fclose(fp);
|
|
||||||
Rc = rcdef;
|
Rc = rcdef;
|
||||||
for (i = 0 ; i < GROUPSMAX; i++)
|
for (i = 0 ; i < GROUPSMAX; i++)
|
||||||
Winstk[i].rc = Rc.win[i];
|
Winstk[i].rc = Rc.win[i];
|
||||||
|
Loading…
Reference in New Issue
Block a user