summaryrefslogtreecommitdiff
path: root/x11/qt3-libs/patches/patch-ad
blob: 61bf8a8b0218375918c4428ee5db67161492c9f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ad,v 1.5 2003/12/19 15:43:31 skrll Exp $

--- src/kernel/qscriptengine_x11.cpp.orig	2003-11-10 10:22:02.000000000 +0000
+++ src/kernel/qscriptengine_x11.cpp
@@ -2671,7 +2671,7 @@ static void hangul_shape_syllable( const
     } else if (syllableLength == 3) {
 	int LIndex = ch[0].unicode() - Hangul_LBase;
 	int VIndex = ch[1].unicode() - Hangul_VBase;
-	int TIndex = ch[1].unicode() - Hangul_TBase;
+	int TIndex = ch[2].unicode() - Hangul_TBase;
 	if (LIndex >= 0 && LIndex < Hangul_LCount &&
 	    VIndex >= 0 && VIndex < Hangul_VCount &&
 	    TIndex >= 0 && TIndex < Hangul_TCount )