Module Name: src Committed By: christos Date: Sun Jun 23 22:46:41 UTC 2019
Modified Files: src/usr.bin/menuc: mdb.h Log Message: define as hex and make MC_VALID smaller so it fits in a short. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/usr.bin/menuc/mdb.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/menuc/mdb.h diff -u src/usr.bin/menuc/mdb.h:1.11 src/usr.bin/menuc/mdb.h:1.12 --- src/usr.bin/menuc/mdb.h:1.11 Mon Feb 25 15:47:37 2019 +++ src/usr.bin/menuc/mdb.h Sun Jun 23 18:46:41 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: mdb.h,v 1.11 2019/02/25 20:47:37 martin Exp $ */ +/* $NetBSD: mdb.h,v 1.12 2019/06/23 22:46:41 christos Exp $ */ /* * Copyright 1997 Piermont Information Systems Inc. @@ -87,14 +87,14 @@ struct menu_info { }; /* defines for mopt */ -#define MC_NOEXITOPT 1 -#define MC_NOBOX 2 -#define MC_SCROLL 4 -#define MC_NOSHORTCUT 8 -#define MC_NOCLEAR 16 -#define MC_DFLTEXIT 32 -#define MC_ALWAYS_SCROLL 64 -#define MC_SUBMENU 128 -#define MC_CONTINUOUS 256 -#define MC_VALID 0x10000 +#define MC_NOEXITOPT 0x001 +#define MC_NOBOX 0x002 +#define MC_SCROLL 0x004 +#define MC_NOSHORTCUT 0x008 +#define MC_NOCLEAR 0x010 +#define MC_DFLTEXIT 0x020 +#define MC_ALWAYS_SCROLL 0x040 +#define MC_SUBMENU 0x080 +#define MC_CONTINUOUS 0x100 +#define MC_VALID 0x200 #endif