X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=webcit%2Fgettext.c;h=1402983c01865e0e15c9b80eec1cf7403df65de6;hp=0994161e77cd59aabd8450c029dc6571b7f4e84b;hb=47bcaaabae789a2f20de958b84714ff2e23dc5bb;hpb=995336d9fceefb5903909f52acc4d93345081a7b diff --git a/webcit/gettext.c b/webcit/gettext.c index 0994161e7..1402983c0 100644 --- a/webcit/gettext.c +++ b/webcit/gettext.c @@ -205,7 +205,7 @@ void httplang_to_locale(StrBuf *LocaleString) * depending on the browser locale change the sequence of the * language chooser. */ -void offer_languages(StrBuf *Target, int nArgs, WCTemplateToken *Token, void *Context, int ContextType) { +void offer_languages(StrBuf *Target, int nArgs, WCTemplateToken *Tokens, void *Context, int ContextType) { int i; #ifndef HAVE_USELOCALE char *Lang = getenv("LANG"); @@ -366,10 +366,9 @@ void preset_locale(void) #endif /* ENABLE_NLS */ -void TmplGettext(StrBuf *Target, int nTokens, WCTemplateToken *Token) +void TmplGettext(StrBuf *Target, int nTokens, WCTemplateToken *Tokens) { - StrBufAppendBufPlain(Target, _(Token->Params[0]->Start), -1, 0); - + StrBufAppendBufPlain(Target, _(Tokens->Params[0]->Start), -1, 0); }