Module Name: src
Committed By: tnozaki
Date: Mon Nov 9 14:22:31 UTC 2009
Modified Files:
src/lib/libc/locale: runetype_local.h
Log Message:
redo: change _RUNTYPE_SW0 bit, mklocale(1) can't treat SWIDTH0 correctly.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/libc/locale/runetype_local.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/locale/runetype_local.h
diff -u src/lib/libc/locale/runetype_local.h:1.4 src/lib/libc/locale/runetype_local.h:1.5
--- src/lib/libc/locale/runetype_local.h:1.4 Mon Nov 9 14:20:49 2009
+++ src/lib/libc/locale/runetype_local.h Mon Nov 9 14:22:31 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: runetype_local.h,v 1.4 2009/11/09 14:20:49 tnozaki Exp $ */
+/* $NetBSD: runetype_local.h,v 1.5 2009/11/09 14:22:31 tnozaki Exp $ */
/*-
* Copyright (c) 1993
@@ -74,7 +74,7 @@
#define _RUNETYPE_Q UINT32_C(0x00200000) /* Phonogram */
#define _RUNETYPE_SWM UINT32_C(0xc0000000)/* Mask to get screen width data */
#define _RUNETYPE_SWS 30 /* Bits to shift to get width */
-#define _RUNETYPE_SW0 UINT32_C(0x00000000) /* 0 width character */
+#define _RUNETYPE_SW0 UINT32_C(0x20000000) /* 0 width character */
#define _RUNETYPE_SW1 UINT32_C(0x40000000) /* 1 width character */
#define _RUNETYPE_SW2 UINT32_C(0x80000000) /* 2 width character */
#define _RUNETYPE_SW3 UINT32_C(0xc0000000) /* 3 width character */