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 d97d699 commit 4a2ab7bCopy full SHA for 4a2ab7b
functions.cpp
@@ -714,9 +714,11 @@ 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
- while (((str[i] & 0b11000000) == 0b10000000) && (i < length_of_s)) {
719
+ while ((i < length_of_s) && ((c & 0b11000000) == 0b10000000)) {
720
++i;
721
722
}
723
// when it's not [aka a new leading bit], increment and move on
724
++len;
0 commit comments