summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerbert Duerr <hdu@openoffice.org>2002-09-05 06:59:02 +0000
committerHerbert Duerr <hdu@openoffice.org>2002-09-05 06:59:02 +0000
commit27fa0410210f429e3347a4bcc9fb0fc4bc5d0a3d (patch)
tree9ffd60585dff61794910b65d16d988e9605b3201
parent4610736e31bab03ac0b19a2fefbaa53c6fd293e0 (diff)
#100194# fix typo
-rw-r--r--vcl/unx/source/gdi/xfont.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/unx/source/gdi/xfont.cxx b/vcl/unx/source/gdi/xfont.cxx
index 46476001ccb5..6eda7208794d 100644
--- a/vcl/unx/source/gdi/xfont.cxx
+++ b/vcl/unx/source/gdi/xfont.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: xfont.cxx,v $
*
- * $Revision: 1.21 $
+ * $Revision: 1.22 $
*
- * last change: $Author: hdu $ $Date: 2002-09-04 17:48:20 $
+ * last change: $Author: hdu $ $Date: 2002-09-05 07:59:02 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -668,7 +668,7 @@ X11FontLayout::X11FontLayout( const ImplLayoutArgs& rArgs, ExtendedFontStruct& r
rFont.GetCharWidth( cChar, cChar, &nGlyphWidth, NULL );
int nGlyphFlags = (nGlyphWidth > 0) ? 0 : GlyphItem::IS_IN_CLUSTER;
if( bRightToLeft )
- nGlyphFlags = GlyphItem::IS_RTL_GLYPH;
+ nGlyphFlags |= GlyphItem::IS_RTL_GLYPH;
int nGlyphIndex = cChar | GF_ISCHAR;
pGlyphBuffer[i] = GlyphItem( nLogicalIndex, nGlyphIndex, aNewPos, nGlyphFlags, nGlyphWidth );