Permalink
Browse files

Fixed a typo that was causing a segfault when doing mixed-unit arithm…

…etic.
  • Loading branch information...
1 parent 23c5988 commit 0a944e4953e0d4e573a2fe6e69297626205f3491 Aaron Leung committed May 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 eval_apply.cpp
View
@@ -288,7 +288,7 @@ namespace Sass {
acc.content.children->push_back(result);
}
else if (lhs.type == Node::numeric_dimension && rhs.type == Node::number) {
- Node result(acc.line_number, operate(op, lnum, rnum), Token::make(lhs.content.dimension.unit, Prelexer::identifier(rhs.content.dimension.unit)));
+ Node result(acc.line_number, operate(op, lnum, rnum), Token::make(lhs.content.dimension.unit, Prelexer::identifier(lhs.content.dimension.unit)));
acc.content.children->pop_back();
acc.content.children->push_back(result);
}

0 comments on commit 0a944e4

Please sign in to comment.