We only need to save real border name.

SVN revision: 37676
This commit is contained in:
Kim Woelders 2008-11-16 17:20:33 +00:00
parent 619b95c289
commit 1f4a4041ff
1 changed files with 1 additions and 5 deletions

View File

@ -305,11 +305,7 @@ static void
_SnapUpdateEwinBorder(Snapshot * sn, const EWin * ewin)
{
Efree(sn->border_name);
sn->border_name = NULL;
if (ewin->previous_border)
sn->border_name = Estrdup(BorderGetName(ewin->previous_border));
else if (ewin->normal_border)
sn->border_name = Estrdup(BorderGetName(ewin->normal_border));
sn->border_name = Estrdup(BorderGetName(ewin->normal_border));
}
static void