X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=edit.h;fp=edit.h;h=f9154670ca8bf414b3a9690322735a6957d0ec19;hb=ba218a8c82df9b5e5bdedf4c4bcb3e1094361b0b;hp=d686f9d4291e545b9f852ac90f2e2a9f7f052746;hpb=14afac6aa99dbefeedc6bbc793faf9ba1de2eca7;p=pkg%2Fabook.git diff --git a/edit.h b/edit.h index d686f9d..f915467 100644 --- a/edit.h +++ b/edit.h @@ -12,13 +12,13 @@ void add_item(); #define EDITOR_HELPLINE "?:help c:contact a:address p:phone o:other" -#define TABLINE 2 +#define TABLINE 1 -#define MAX_TAB_LINES 7 +#define MAX_TAB_FIELDS 7 #define TAB_COLON_POS 28 -#define TAB_START_Y 5 -#define TAB_START_X (EDITW_COLS > 70 ? 8:4) +#define FIELDS_START_Y 4 +#define FIELDS_START_X 4 enum { TAB_CONTACT,