X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=list.h;h=cdffe73903e4acc193eb7274e35b817b14abe9fc;hb=ba9b9ffc6eb621ca0094db55f571010f5f5603ed;hp=8a92dc606ac9f1675a4dd61ab06c072fc9a08bc4;hpb=f16a3a0e70320b746a9bdafe71dffff4b5ec71d9;p=pkg%2Fabook.git diff --git a/list.h b/list.h index 8a92dc6..cdffe73 100644 --- a/list.h +++ b/list.h @@ -30,14 +30,14 @@ enum { }; #define LIST_TOP 3 -#define LIST_BOTTOM (LINES-3) +#define LIST_BOTTOM (LINES-2) #define LIST_LINES (LIST_BOTTOM-LIST_TOP) #define LIST_COLS COLS #define NAMEPOS 2 -#define EMAILPOS options_get_int("emailpos") -#define EXTRAPOS options_get_int("extrapos") +#define EMAILPOS opt_get_int(INT_EMAILPOS) +#define EXTRAPOS opt_get_int(INT_EXTRAPOS) #define NAMELEN (EMAILPOS-NAMEPOS -1) #define EMAILLEN (EXTRAPOS-EMAILPOS -1)