diff --git a/src/parser.cpp b/src/parser.cpp index e10c56ab24..89e0670fca 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -2630,7 +2630,7 @@ namespace Sass { || (ops[0].operand == Sass_OP::LTE) || (ops[0].operand == Sass_OP::GTE) )) { - Expression* rhs = fold_operands(operands[0], operands, ops, i + 1); + Expression* rhs = fold_operands(operands[i], operands, ops, i + 1); rhs = SASS_MEMORY_NEW(ctx.mem, Binary_Expression, base->pstate(), ops[0], schema, rhs); return rhs; }