From 12fd3cdeb491d10f2226c1356058848b19a862cc Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 24 Jan 2004 14:59:04 +0100 Subject: Changed the 'languageCode' members in the descriptor classes of 'libsi' to 'char[4]' and setting the 4th byte to 0 for easier handling --- i18n.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'i18n.h') diff --git a/i18n.h b/i18n.h index 26957645..dfea90fc 100644 --- a/i18n.h +++ b/i18n.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: i18n.h 1.9 2004/01/16 12:43:47 kls Exp $ + * $Id: i18n.h 1.10 2004/01/24 14:57:29 kls Exp $ */ #ifndef __I18N_H @@ -23,7 +23,7 @@ const char *I18nTranslate(const char *s, const char *Plugin = NULL); const char * const * I18nLanguages(void); const char * const * I18nCharSets(void); const char * I18nLanguageAbbreviation(int Index); -int I18nLanguageIndex(const char Code[3]); +int I18nLanguageIndex(const char *Code); bool I18nIsPreferredLanguage(int *PreferredLanguages, int LanguageIndex, int &OldPreference); #ifdef PLUGIN_NAME_I18N -- cgit v1.2.3