From dcc3da586262049cb16d9e1303d56c88b92dc934 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Mon, 19 Aug 2002 08:50:41 +0000 Subject: [PATCH] Properly define SWIDTH1, add autowidth (was SWIDTH1) --- include/_ctype.h | 3 ++- include/ctype.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include/_ctype.h b/include/_ctype.h index 294ab231c56f..d738186f033a 100644 --- a/include/_ctype.h +++ b/include/_ctype.h @@ -67,8 +67,9 @@ #define _CTYPE_Q 0x00200000L /* Phonogram */ #define _CTYPE_SWM 0xe0000000L /* Mask to get screen width data */ #define _CTYPE_SWS 30 /* Bits to shift to get width */ +#define _CTYPE_SWA 0x00000000L /* autowidth / default */ #define _CTYPE_SW0 0x20000000L /* 0 width character */ -#define _CTYPE_SW1 0x00000000L /* 1 width character / default*/ +#define _CTYPE_SW1 0x40000000L /* 1 width character */ #define _CTYPE_SW2 0x80000000L /* 2 width character */ #define _CTYPE_SW3 0xc0000000L /* 3 width character */ diff --git a/include/ctype.h b/include/ctype.h index 294ab231c56f..d738186f033a 100644 --- a/include/ctype.h +++ b/include/ctype.h @@ -67,8 +67,9 @@ #define _CTYPE_Q 0x00200000L /* Phonogram */ #define _CTYPE_SWM 0xe0000000L /* Mask to get screen width data */ #define _CTYPE_SWS 30 /* Bits to shift to get width */ +#define _CTYPE_SWA 0x00000000L /* autowidth / default */ #define _CTYPE_SW0 0x20000000L /* 0 width character */ -#define _CTYPE_SW1 0x00000000L /* 1 width character / default*/ +#define _CTYPE_SW1 0x40000000L /* 1 width character */ #define _CTYPE_SW2 0x80000000L /* 2 width character */ #define _CTYPE_SW3 0xc0000000L /* 3 width character */