diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1999-08-22 17:42:45 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1999-08-22 17:42:45 +0000 |
commit | c7686b88ad34b699a634ddf0e64b5cb2583b65df (patch) | |
tree | b4d3a2545609ec2fc5f3a038ab515a58514bc50a /lib/libcurses/trace/lib_tracebits.c | |
parent | b438e3a674dc9aed0de2fb88583a1f8168a9c167 (diff) |
ncurses-5.0-990821
Diffstat (limited to 'lib/libcurses/trace/lib_tracebits.c')
-rw-r--r-- | lib/libcurses/trace/lib_tracebits.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/libcurses/trace/lib_tracebits.c b/lib/libcurses/trace/lib_tracebits.c index c9363e7445f..5469470e1fe 100644 --- a/lib/libcurses/trace/lib_tracebits.c +++ b/lib/libcurses/trace/lib_tracebits.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lib_tracebits.c,v 1.2 1999/03/15 19:12:23 millert Exp $ */ +/* $OpenBSD: lib_tracebits.c,v 1.3 1999/08/22 17:42:37 millert Exp $ */ /**************************************************************************** * Copyright (c) 1998 Free Software Foundation, Inc. * @@ -36,7 +36,7 @@ #include <curses.priv.h> #include <term.h> /* cur_term */ -MODULE_ID("$From: lib_tracebits.c,v 1.2 1999/03/14 12:27:03 tom Exp $") +MODULE_ID("$From: lib_tracebits.c,v 1.3 1999/08/21 21:43:48 tom Exp $") #if defined(SVR4_TERMIO) && !defined(_POSIX_SOURCE) #define _POSIX_SOURCE @@ -158,10 +158,18 @@ lflags[] = #if defined(CS5) && defined(CS8) switch (cur_term->Nttyb.c_cflag & CSIZE) { +#if defined(CS5) && (CS5 != 0) case CS5: strcat(buf, "CS5 "); break; +#endif +#if defined(CS6) && (CS6 != 0) case CS6: strcat(buf, "CS6 "); break; +#endif +#if defined(CS7) && (CS7 != 0) case CS7: strcat(buf, "CS7 "); break; +#endif +#if defined(CS8) && (CS8 != 0) case CS8: strcat(buf, "CS8 "); break; +#endif default: strcat(buf, "CSIZE? "); break; } #endif |