archrelease: copy trunk to testing-x86_64
[arch-packages.git] / libfreehand / trunk / libfreehand-0.1.2-icu-fix.patch
blob2a904e4fb7e60da4f032d965306ca80db394b58f
1 From af3197f795625f5188602073205a34369698b6df Mon Sep 17 00:00:00 2001
2 From: Heiko Becker <heirecka@exherbo.org>
3 Date: Fri, 4 Oct 2019 01:46:12 +0200
4 Subject: [PATCH] Add missing semicolon to fix build with icu 65.1
6 Change-Id: I7a0b0d600e9f7770245a7485813a944bfac4f088
7 Reviewed-on: https://gerrit.libreoffice.org/80224
8 Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
9 Tested-by: Miklos Vajna <vmiklos@collabora.com>
10 ---
11 src/lib/libfreehand_utils.cpp | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
14 diff --git a/src/lib/libfreehand_utils.cpp b/src/lib/libfreehand_utils.cpp
15 index 439c457..32f23e0 100644
16 --- a/src/lib/libfreehand_utils.cpp
17 +++ b/src/lib/libfreehand_utils.cpp
18 @@ -162,7 +162,7 @@ void libfreehand::_appendUTF16(librevenge::RVNGString &text, std::vector<unsigne
19 while (j < length)
21 UChar32 c;
22 - U16_NEXT(s, j, length, c)
23 + U16_NEXT(s, j, length, c);
24 unsigned char outbuf[U8_MAX_LENGTH+1];
25 int i = 0;
26 U8_APPEND_UNSAFE(&outbuf[0], i, c);
27 --
28 2.23.0