summaryrefslogtreecommitdiff
path: root/i18n.c
diff options
context:
space:
mode:
Diffstat (limited to 'i18n.c')
-rw-r--r--i18n.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/i18n.c b/i18n.c
index 1673e539..7bd27806 100644
--- a/i18n.c
+++ b/i18n.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: i18n.c 1.308 2007/08/12 12:15:29 kls Exp $
+ * $Id: i18n.c 1.309 2007/08/15 14:17:56 kls Exp $
*
*
*/
@@ -180,6 +180,8 @@ const cStringList *I18nLanguages(void)
const char *I18nTranslate(const char *s, const char *Plugin)
{
+ if (!s)
+ return s;
if (CurrentLanguage) {
const char *t = s;
if (Plugin)