Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 26b3e09

Browse files
committed
Fix wrong copy of stopFile - it was a dictFile by cut and paste mistake
1 parent b760695 commit 26b3e09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/shared_ispell/src/shared_ispell.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ init_shared_dict(DictInfo *info, char *dictFile, char *affFile, char *stopFile)
415415
memcpy(info->dictFile, dictFile, strlen(dictFile) + 1);
416416
memcpy(info->affixFile, dictFile, strlen(affFile)+ 1);
417417
if (stopFile != NULL)
418-
memcpy(info->stopFile, dictFile, strlen(stopFile) + 1);
418+
memcpy(info->stopFile, stopFile, strlen(stopFile) + 1);
419419
else
420420
memset(info->stopFile, 0, sizeof(info->stopFile));
421421
}

0 commit comments

Comments
 (0)