summaryrefslogtreecommitdiff
path: root/vcl/source/glyphs
diff options
context:
space:
mode:
authorHerbert Duerr <hdu@openoffice.org>2002-06-10 13:45:40 +0000
committerHerbert Duerr <hdu@openoffice.org>2002-06-10 13:45:40 +0000
commit433c0ffcd99ba83a25f66024dcdb5c4e25f5f4cf (patch)
tree2c46cd59707e84c93fccb620a80e1ff9c6600b9c /vcl/source/glyphs
parent3acd279704b677e104718771709f74d960d8c3b6 (diff)
#99117# better script recognition
Diffstat (limited to 'vcl/source/glyphs')
-rwxr-xr-xvcl/source/glyphs/gcach_layout.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/glyphs/gcach_layout.cxx b/vcl/source/glyphs/gcach_layout.cxx
index c55dcb75d93f..a729e9710ff7 100755
--- a/vcl/source/glyphs/gcach_layout.cxx
+++ b/vcl/source/glyphs/gcach_layout.cxx
@@ -4,8 +4,8 @@
*
* $RCSfile: gcach_layout.cxx,v $
*
- * $Revision: 1.8 $
- * last change: $Author: hdu $ $Date: 2002-06-06 14:49:22 $
+ * $Revision: 1.9 $
+ * last change: $Author: hdu $ $Date: 2002-06-10 14:45:40 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -541,7 +541,7 @@ ServerFontLayout* IcuLayoutEngine::operator()( ServerFont* pFont,
// find matching script
// TODO: handle errors better
// TODO: consider script changes
- le_int32 eScriptCode = uscript_getScript( pIcuChars[0], &rcI18n );
+ le_int32 eScriptCode = uscript_getScript( pIcuChars[rArgs.mnFirstCharIndex], &rcI18n );
// get layout engine matching to this script
// no engine change necessary if script is latin