Pleas apply it for 7.2.1 and current CVS.

Patch fixes using lc.lang instead of lc.lc_ctype.

Teodor Sigaev
REL7_2_STABLE
Bruce Momjian 24 years ago
parent 07ee72fc67
commit aaf52da649
  1. 3
      contrib/tsearch/morph.c

@ -114,8 +114,9 @@ initmorph(void)
#ifdef USE_LOCALE
PGLC_current(&lc);
if ( lc.lc_ctype )
for (i = 1; i < lengthof(dicts); i++)
if (strcmp(dicts[i].localename, lc.lang) == 0)
if (strcmp(dicts[i].localename, lc.lc_ctype) == 0)
{
bylocaledict = i;
break;

Loading…
Cancel
Save