summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/scrptrun.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/gdi/scrptrun.cxx')
-rw-r--r--vcl/source/gdi/scrptrun.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/gdi/scrptrun.cxx b/vcl/source/gdi/scrptrun.cxx
index f19e169fe93e..cee6fb27eb15 100644
--- a/vcl/source/gdi/scrptrun.cxx
+++ b/vcl/source/gdi/scrptrun.cxx
@@ -115,7 +115,7 @@ struct PairIndices
};
-// There are three Unicode script codes for Japaneese text, but only one
+// There are three Unicode script codes for Japanese text, but only one
// OpenType script tag, so we want to keep them in one run as splitting is
// pointless for the purpose of OpenType shaping.
UScriptCode getScript(UChar32 ch, UErrorCode* status)
@@ -180,7 +180,7 @@ UBool ScriptRun::next()
// if it's an open character, push it onto the stack.
// if it's a close character, find the matching open on the
// stack, and use that script code. Any non-matching open
- // characters above it on the stack will be poped.
+ // characters above it on the stack will be popped.
if (pairIndex >= 0) {
if ((pairIndex & 1) == 0) {
++parenSP;