From 45fb31aa9113b597878fc19d1463c078663540d9 Mon Sep 17 00:00:00 2001 From: David Dawes Date: Sat, 14 Dec 2002 01:59:38 +0000 Subject: [PATCH] 632. Finish off the UTF-16 APIs in Xft, and fix the UTF-16 conversion code in fontconfig (#A.1411, Keith Packard, Jungshik Shin). --- src/fcstr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fcstr.c b/src/fcstr.c index efb82e1..a51be35 100644 --- a/src/fcstr.c +++ b/src/fcstr.c @@ -1,5 +1,5 @@ /* - * $XFree86: xc/lib/fontconfig/src/fcstr.c,v 1.7 2002/07/13 05:43:25 keithp Exp $ + * $XFree86: xc/lib/fontconfig/src/fcstr.c,v 1.10 2002/08/31 22:17:32 keithp Exp $ * * Copyright © 2000 Keith Packard, member of The XFree86 Project, Inc. * @@ -283,7 +283,7 @@ FcUtf16ToUcs4 (const FcChar8 *src_orig, if ((b & 0xfc00) != 0xdc00) return 0; result = ((((FcChar32) a & 0x3ff) << 10) | - ((FcChar32) b & 0x3ff)) | 0x10000; + ((FcChar32) b & 0x3ff)) + 0x10000; } else result = a; -- 2.39.5