mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
fix typo in "lcsCommand" doc comment (#10622)
fix typo. `LCS[j+(blen+1)*j]` -> `LCS[j+(blen+1)*i]`
This commit is contained in:
parent
3cd8baf616
commit
719b766586
@ -792,7 +792,7 @@ void lcsCommand(client *c) {
|
||||
|
||||
/* Setup an uint32_t array to store at LCS[i,j] the length of the
|
||||
* LCS A0..i-1, B0..j-1. Note that we have a linear array here, so
|
||||
* we index it as LCS[j+(blen+1)*j] */
|
||||
* we index it as LCS[j+(blen+1)*i] */
|
||||
#define LCS(A,B) lcs[(B)+((A)*(blen+1))]
|
||||
|
||||
/* Try to allocate the LCS table, and abort on overflow or insufficient memory. */
|
||||
|
Loading…
Reference in New Issue
Block a user