Bugfix: check ->layout, not ->type for L_STACKED

This commit is contained in:
Michael Stapelberg 2011-02-14 16:35:48 +01:00
parent 305eac0e71
commit b800555161
1 changed files with 1 additions and 1 deletions

View File

@ -337,7 +337,7 @@ void x_draw_decoration(Con *con) {
int indent_level = 0, int indent_level = 0,
indent_mult = 0; indent_mult = 0;
Con *il_parent = con->parent; Con *il_parent = con->parent;
if (il_parent->type != L_STACKED) { if (il_parent->layout != L_STACKED) {
while (1) { while (1) {
DLOG("il_parent = %p, layout = %d\n", il_parent, il_parent->layout); DLOG("il_parent = %p, layout = %d\n", il_parent, il_parent->layout);
if (il_parent->layout == L_STACKED) if (il_parent->layout == L_STACKED)