* updated maddy (0.7.1 -> 0.8.1), untested
[t2sde.git] / package / contrib / libfreehand / hotfix.patch
blob9aaa1562ecd3687e1f02f0731a5d3662a781bb0d
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/libfreehand/hotfix.patch
3 # Copyright (C) 2024 The T2 SDE Project
4 #
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7 #
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 --- libfreehand-0.1.2/src/lib/libfreehand_utils.cpp.vanilla 2024-05-22 10:36:18.866000000 +0200
15 +++ libfreehand-0.1.2/src/lib/libfreehand_utils.cpp 2024-05-22 10:36:34.216000000 +0200
16 @@ -162,7 +162,7 @@
17 while (j < length)
19 UChar32 c;
20 - U16_NEXT(s, j, length, c)
21 + U16_NEXT(s, j, length, c);
22 unsigned char outbuf[U8_MAX_LENGTH+1];
23 int i = 0;
24 U8_APPEND_UNSAFE(&outbuf[0], i, c);