Skip to content

Commit

Permalink
Merge pull request #861 from xzyfer/fix/at-root-segfault
Browse files Browse the repository at this point in the history
Fix a segfault in at-root
  • Loading branch information
xzyfer committed Jan 30, 2015
2 parents f94edf2 + f236444 commit 714484e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cssize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ namespace Sass {
{
Block* bb = m->block()->perform(this)->block();
for (size_t i = 0, L = bb->length(); i < L; ++i) {
if (bubblable(m)) (*m->block())[i]->tabs((*m->block())[i]->tabs() + m->tabs());
if (bubblable((*bb)[i])) (*bb)[i]->tabs((*bb)[i]->tabs() + m->tabs());
}
if (bb->length() && bubblable(bb->last())) bb->last()->group_end(m->group_end());
return bb;
Expand Down

0 comments on commit 714484e

Please sign in to comment.