Fix solid color backgrounds.

SVN revision: 59311
This commit is contained in:
Kim Woelders 2011-05-10 15:43:37 +00:00
parent 1a27875781
commit a15f23b71d
1 changed files with 2 additions and 0 deletions

View File

@ -1097,6 +1097,7 @@ BackgroundsConfigLoad(FILE * fs)
case CONFIG_CLOSE:
if (!bg)
goto done;
bg->bg_solid = color;
bg->bg.file = bg1;
bg->top.file = bg2;
bg1 = bg2 = NULL;
@ -1128,6 +1129,7 @@ BackgroundsConfigLoad(FILE * fs)
}
else
{
color = bg->bg_solid;
Efree(bg1);
Efree(bg2);
bg1 = bg->bg.file;