X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=edit.c;h=8a2e1e98f247f28fbd1068fc7f99cbbedb8cfaa8;hb=64990eb83b3bab7df8784b6ac1ef540016070e49;hp=7abbb09ac9a1150fb2ec1c983459dcd90cdc42d1;hpb=b1b41dce461ab21ae9a2bd26d7a00a381a5f81f8;p=pkg%2Fabook.git diff --git a/edit.c b/edit.c index 7abbb09..8a2e1e9 100644 --- a/edit.c +++ b/edit.c @@ -38,7 +38,7 @@ editor_tab(const int tab) { int i; const int spacing = 12; - const char *tab_names[] = { + static char *tab_names[] = { "CONTACT", "ADDRESS", " PHONE ", @@ -147,7 +147,6 @@ print_editor_header(int item) else snprintf(header, EDITW_COLS, "%s", database[item][NAME]); - fprintf(stderr, "%d\n", strwidth(header)); mvwaddstr(editw, 0, (EDITW_COLS - strwidth(header)) / 2, header);