Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
get_patch_filename(): split into two functions
[gitweb.git]
/
gettext.h
diff --git
a/gettext.h
b/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);
}