Index: Source/WebCore/css/CSSParser.cpp |
=================================================================== |
--- Source/WebCore/css/CSSParser.cpp (revision 107410) |
+++ Source/WebCore/css/CSSParser.cpp (working copy) |
@@ -8541,9 +8541,9 @@ |
if (*m_currentCharacter == '*') { |
++m_currentCharacter; |
while (m_currentCharacter[0] != '*' || m_currentCharacter[1] != '/') { |
- if (m_currentCharacter[0] == '\n') |
+ if (*m_currentCharacter == '\n') |
++m_lineNumber; |
- if (m_currentCharacter[0] == '\0' && m_currentCharacter[1] == '\0') { |
+ if (*m_currentCharacter == '\0') { |
// Unterminated comments are simply ignored. |
m_currentCharacter -= 2; |
break; |