Skip to content

Commit

Permalink
Fix variable-shadowing bug from previous change.
Browse files Browse the repository at this point in the history
  • Loading branch information
andybalholm committed Mar 18, 2014
1 parent 59c9785 commit ffb2fbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phrase.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func (p *phraseList) findFallbackNodes(node int32, text []byte) {
for i := 1; i < len(text); i++ {
f := int32(0) // If there is no suffix in common, use the root.
for j := i; j < len(text); j++ {
f := (*p)[f].child(text[j])
f = (*p)[f].child(text[j])
if f == 0 {
break
}
Expand Down

0 comments on commit ffb2fbe

Please sign in to comment.