X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=abook.h;h=564caf39b946725839cab05b5e7fa0600b3f906a;hb=4b8f9231090ada43f7e16987ec46ac7f45a914ec;hp=b5e7c7627bbd291d101bef9080d473b5c37fb0ab;hpb=7a7531e544d236d58ca077ce56b7d6d0c60faa09;p=pkg%2Fabook.git diff --git a/abook.h b/abook.h index b5e7c76..564caf3 100644 --- a/abook.h +++ b/abook.h @@ -13,12 +13,12 @@ int strcasecmp (const char *, const char *); int strncasecmp (const char *, const char *, size_t); #endif -#define MAIN_HELPLINE "q:quit ?:help a:add r:remove" +#define MAIN_HELPLINE N_("q:quit ?:help a:add r:remove") #define Y_STATUSLINE (LINES - 2) -#define MIN_LINES 20 -#define MIN_COLS 70 +#define MIN_LINES 20 +#define MIN_COLS 70 #define DEFAULT_UMASK 066 #define DIR_IN_HOME ".abook" @@ -38,7 +38,6 @@ int strncasecmp (const char *, const char *, size_t); #define safe_atoi(X) ((X == NULL) ? 0 : atoi(X)) #define safe_str(X) ((X == NULL) ? "" : X) -#define safe_strdup(X) ((X == NULL) ? NULL : strdup(X)) #ifndef min # define min(x,y) (((x)<(y)) ? (x):(y))