summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bin/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/main.c b/src/bin/main.c
index b530cdf..5e3fa02 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -531,10 +531,10 @@ _split_merge(Split *spp, Split *sp, const char *slot)
531 spp->s2->parent = spp; 531 spp->s2->parent = spp;
532 spp->horizontal = sp->horizontal; 532 spp->horizontal = sp->horizontal;
533 o = sp->panes; 533 o = sp->panes;
534 /* slot is the empty part. the part that needs to be unset is the 534 elm_object_part_content_unset(sp->parent->panes, slot);
535 * other one */
536 elm_object_part_content_unset(sp->parent->panes, 535 elm_object_part_content_unset(sp->parent->panes,
537 (!strcmp(slot, PANES_TOP)) ? PANES_BOTTOM : PANES_TOP); 536 (!strcmp(slot, PANES_TOP)) ?
537 PANES_BOTTOM : PANES_TOP);
538 if (spp->parent) 538 if (spp->parent)
539 { 539 {
540 elm_object_part_content_unset(spp->parent->panes, slot); 540 elm_object_part_content_unset(spp->parent->panes, slot);