summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorJonathan Kew <jfkthame@googlemail.com>2008-03-07 11:27:19 +0000
committerJonathan Kew <jfkthame@googlemail.com>2008-03-07 11:27:19 +0000
commitb57c890cea8d165ee3b4657bfcaeeac05cbfdb7f (patch)
tree46ecc35b56fd7db454979bd5fb1ad1a4d28cde47 /Build/source
parent7f97dd45416b840d086523955fd9614ea4cc7c73 (diff)
array indexing bugfix (in dead code but can trigger compiler warning)
git-svn-id: svn://tug.org/texlive/trunk@6875 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/libs/graphite-engine/src/font/Font.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/libs/graphite-engine/src/font/Font.cpp b/Build/source/libs/graphite-engine/src/font/Font.cpp
index 84e1c848266..95cf2cefd41 100644
--- a/Build/source/libs/graphite-engine/src/font/Font.cpp
+++ b/Build/source/libs/graphite-engine/src/font/Font.cpp
@@ -872,8 +872,8 @@ isocode LanguageIterator::operator*()
{
Assert(false);
isocode codeRet;
- codeRet.rgch[1] = '?'; codeRet.rgch[2] = '?';
- codeRet.rgch[3] = '?'; codeRet.rgch[4] = 0;
+ codeRet.rgch[0] = '?'; codeRet.rgch[1] = '?';
+ codeRet.rgch[2] = '?'; codeRet.rgch[3] = 0;
return codeRet;
}