diff options
Diffstat (limited to 'gettext.h')
-rw-r--r-- | gettext.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -30,10 +30,15 @@ #ifndef NO_GETTEXT extern void git_setup_gettext(void); +extern int gettext_width(const char *s); #else static inline void git_setup_gettext(void) { } +static inline int gettext_width(const char *s) +{ + return strlen(s); +} #endif #ifdef GETTEXT_POISON |