diff options
Diffstat (limited to 'WebCore/platform/LinkHash.cpp')
-rw-r--r-- | WebCore/platform/LinkHash.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/WebCore/platform/LinkHash.cpp b/WebCore/platform/LinkHash.cpp index 878933a..c399aa2 100644 --- a/WebCore/platform/LinkHash.cpp +++ b/WebCore/platform/LinkHash.cpp @@ -81,7 +81,7 @@ static inline bool containsColonSlashSlash(const UChar* characters, unsigned len static inline void cleanPath(Vector<UChar, 512>& path) { - // FIXME: Shold not do this in the query or anchor part. + // FIXME: Should not do this in the query or anchor part. int pos; while ((pos = findSlashDotDotSlash(path.data(), path.size())) != -1) { int prev = reverseFind(path.data(), path.size(), '/', pos - 1); @@ -92,7 +92,7 @@ static inline void cleanPath(Vector<UChar, 512>& path) path.remove(prev, pos - prev + 3); } - // FIXME: Shold not do this in the query part. + // FIXME: Should not do this in the query part. // Set refPos to -2 to mean "I haven't looked for the anchor yet". // We don't want to waste a function call on the search for the the anchor // in the vast majority of cases where there is no "//" in the path. @@ -110,7 +110,7 @@ static inline void cleanPath(Vector<UChar, 512>& path) pos += 2; } - // FIXME: Shold not do this in the query or anchor part. + // FIXME: Should not do this in the query or anchor part. while ((pos = findSlashDotSlash(path.data(), path.size())) != -1) path.remove(pos, 2); } |