summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-02-24 13:43:11 +0000
committertijl <tijl@FreeBSD.org>2014-02-24 13:43:11 +0000
commit861cf70bc461113923e97fcd2b082dd03b33068f (patch)
treede1a64f9bac8d97f0ac4f9a201fcd15de0fddc6b
parentfd456bec64859d445df40815485ee7617d1d6682 (diff)
downloadFreeBSD-src-861cf70bc461113923e97fcd2b082dd03b33068f.zip
FreeBSD-src-861cf70bc461113923e97fcd2b082dd03b33068f.tar.gz
Fix Simplified Chinese character set conversions by switching around the
fields of an internal struct so it corresponds with the way variables of this type are initialised. PR: 185964 Submitted by: Manuel Mausz <manuel-freebsd@mausz.at> MFC after: 5 days
-rw-r--r--lib/libiconv_modules/HZ/citrus_hz.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libiconv_modules/HZ/citrus_hz.c b/lib/libiconv_modules/HZ/citrus_hz.c
index a20966c..f9eb006 100644
--- a/lib/libiconv_modules/HZ/citrus_hz.c
+++ b/lib/libiconv_modules/HZ/citrus_hz.c
@@ -65,8 +65,8 @@ typedef enum {
} charset_t;
typedef struct {
- int end;
int start;
+ int end;
int width;
} range_t;
OpenPOWER on IntegriCloud