Commit c73a1b9d by Aaron Leung

Fixing an error in the node equality function.

parent 3cfe0c0d
......@@ -20,7 +20,8 @@ namespace Sass {
case expression:
case term:
case numeric_color: {
for (size_t i = 0; i < size(); ++i) {
if (size() != rhs.size()) return false;
for (size_t i = 0, L = size(); i < L; ++i) {
if (at(i) == rhs[i]) continue;
else return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment