Merge branch 'nd/fetch-status-alignment'
[gitweb.git] / gettext.h
index e44d8bcda90239d513b6819bcd90b0d42cdd5606..7671d09d04bb87541b11209b5cdbddbb9e4e59b8 100644 (file)
--- a/gettext.h
+++ b/gettext.h
@@ -49,6 +49,8 @@ extern int use_gettext_poison(void);
 
 static inline FORMAT_PRESERVING(1) const char *_(const char *msgid)
 {
+       if (!*msgid)
+               return "";
        return use_gettext_poison() ? "# GETTEXT POISON #" : gettext(msgid);
 }