/[emacs]/emacs/src/charset.h
ViewVC logotype

Diff of /emacs/src/charset.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.64 by gerd, Fri Jul 13 09:30:58 2001 UTC revision 1.65 by pj, Tue Jan 1 22:12:56 2002 UTC
# Line 447  extern int width_by_char_head[256]; Line 447  extern int width_by_char_head[256];
447    
448  #define UNIBYTE_STR_AS_MULTIBYTE_P(str, length, bytes)  \  #define UNIBYTE_STR_AS_MULTIBYTE_P(str, length, bytes)  \
449    (((str)[0] < 0x80 || (str)[0] >= 0xA0)                \    (((str)[0] < 0x80 || (str)[0] >= 0xA0)                \
450     ? (bytes) = 1                                        \     ? ((bytes) = 1)                                      \
451     : (((bytes) = BYTES_BY_CHAR_HEAD ((str)[0])),        \     : (((bytes) = BYTES_BY_CHAR_HEAD ((str)[0])),        \
452        ((bytes) > 1 && (bytes) <= (length)               \        ((bytes) > 1 && (bytes) <= (length)               \
453         && (str)[0] != LEADING_CODE_8_BIT_CONTROL        \         && (str)[0] != LEADING_CODE_8_BIT_CONTROL        \

Legend:
Removed from v.1.64  
changed lines
  Added in v.1.65

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26