We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce9d015 commit 1e98e20Copy full SHA for 1e98e20
functions.cpp
@@ -714,17 +714,14 @@ namespace Sass {
714
// it's a multi bit sequence and presumably it's a leading bit
715
else {
716
++i; // go to the next byte
717
- c = static_cast<unsigned char>(str[i]);
718
// see if it's still part of the sequence
719
- while ((i < length_of_s) && ((c & 0b11000000) == 0b10000000)) {
+ while ((i < length_of_s) && ((static_cast<unsigned char>(str[i]) & 0b11000000) == 0b10000000)) {
720
++i;
721
722
}
723
// when it's not [aka a new leading bit], increment and move on
724
++len;
725
726
727
-
728
return new (ctx.mem) Number(path, position, len);
729
730
0 commit comments