summaryrefslogtreecommitdiffstats
path: root/WebCore/mathml/RenderMathMLOperator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/mathml/RenderMathMLOperator.cpp')
-rw-r--r--WebCore/mathml/RenderMathMLOperator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/mathml/RenderMathMLOperator.cpp b/WebCore/mathml/RenderMathMLOperator.cpp
index 72c997b..7f039b9 100644
--- a/WebCore/mathml/RenderMathMLOperator.cpp
+++ b/WebCore/mathml/RenderMathMLOperator.cpp
@@ -162,7 +162,7 @@ void RenderMathMLOperator::updateFromElement()
// Check for a stretchable character.
if (!stretchDisabled && firstChar) {
- const int maxIndex = sizeof(stretchyCharacters) / sizeof(stretchyCharacters[0]);
+ const int maxIndex = WTF_ARRAY_LENGTH(stretchyCharacters);
for (index++; index < maxIndex; index++) {
if (stretchyCharacters[index].character == firstChar) {
isStretchy = true;