Skip to content

Commit f354665

Browse files
committed
Fix obvious identical subexpressions in op_color_number
1 parent c3c1c0e commit f354665

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/operators.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ namespace Sass {
247247
{
248248
double rval = rhs.value();
249249

250-
if ((op == Sass_OP::DIV || op == Sass_OP::DIV) && rval == 0) {
250+
if ((op == Sass_OP::DIV || op == Sass_OP::MOD) && rval == 0) {
251251
// comparison of Fixnum with Float failed?
252252
throw Exception::ZeroDivisionError(lhs, rhs);
253253
}

0 commit comments

Comments
 (0)