diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2004-01-24 14:59:04 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2004-01-24 14:59:04 +0100 |
commit | 12fd3cdeb491d10f2226c1356058848b19a862cc (patch) | |
tree | 3129cd13d4bbfa2b63809bf618214721299a60c1 /i18n.h | |
parent | 72189b52280e77409f49bcb79c46ba63cb774e2b (diff) | |
download | vdr-12fd3cdeb491d10f2226c1356058848b19a862cc.tar.gz vdr-12fd3cdeb491d10f2226c1356058848b19a862cc.tar.bz2 |
Changed the 'languageCode' members in the descriptor classes of 'libsi' to 'char[4]' and setting the 4th byte to 0 for easier handling
Diffstat (limited to 'i18n.h')
-rw-r--r-- | i18n.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |