(Fopen_dribble_file): Call fclose only when dribble is non zero.
This commit is contained in:
parent
b9755a1207
commit
d0011c1199
1 changed files with 5 additions and 2 deletions
|
@ -5575,8 +5575,11 @@ If FILE is nil, close any open dribble file.")
|
|||
{
|
||||
if (NILP (file))
|
||||
{
|
||||
fclose (dribble);
|
||||
dribble = 0;
|
||||
if (dribble)
|
||||
{
|
||||
fclose (dribble);
|
||||
dribble = 0;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue