Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3de2682

Browse files
committed
Fix lowercasing while parse OO dictionary
1 parent1120c61 commit3de2682

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)

[8]ページ先頭

©2009-2025 Movatter.jp