Skip to content

Commit 3de2682

Browse files
committed
Fix lowercasing while parse OO dictionary
1 parent 1120c61 commit 3de2682

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

contrib/tsearch2/ispell/spell.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -609,11 +609,11 @@ NIImportOOAffixes(IspellDict * Conf, const char *filename)
609609
pfind = lowerstr(find);
610610
pmask = lowerstr(mask);
611611
if (t_iseq(find, '0'))
612-
*find = '\0';
612+
*pfind = '\0';
613613
if (t_iseq(repl, '0'))
614-
*repl = '\0';
614+
*prepl = '\0';
615615

616-
NIAddAffix(Conf, flag, flagflags, mask, find, repl, isSuffix ? FF_SUFFIX : FF_PREFIX);
616+
NIAddAffix(Conf, flag, flagflags, pmask, pfind, prepl, isSuffix ? FF_SUFFIX : FF_PREFIX);
617617
pfree(prepl);
618618
pfree(pfind);
619619
pfree(pmask);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy