summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/sallayout.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/gdi/sallayout.cxx')
-rw-r--r--vcl/source/gdi/sallayout.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/sallayout.cxx b/vcl/source/gdi/sallayout.cxx
index 9d315e33a3a3..d4696c799919 100644
--- a/vcl/source/gdi/sallayout.cxx
+++ b/vcl/source/gdi/sallayout.cxx
@@ -1274,7 +1274,7 @@ void GenericSalLayout::KashidaJustify( long nKashidaIndex, int nKashidaWidth )
// calculate gap, ignore if too small
int nGapWidth = pG->mnNewWidth - pG->mnOrigWidth;
// worst case is one kashida even for mini-gaps
- if( 3 * nGapWidth < nKashidaWidth )
+ if( nGapWidth < nKashidaWidth )
continue;
nKashidaCount = 0;