int nBest;
int nParts;
StrBuf *Buf = NULL;
- StrBuf *SBuf;
+ StrBuf *SBuf = NULL;
nParts=StrBufNum_tokens(LocaleString,',');
for (i=0; ((i<nParts)&&(i<SEARCH_LANG)); i++)
*/
void go_selected_language(void) {
#ifdef HAVE_USELOCALE
- struct wcsession *WCC = WC;
+ wcsession *WCC = WC;
if (WCC->selected_language < 0) return;
uselocale(wc_locales[WCC->selected_language]); /** switch locales */
textdomain(textdomain(NULL)); /** clear the cache */