Skip to content

Commit 6beffd4

Browse files
committed
Indexing fix
1 parent ce7fa98 commit 6beffd4

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Japanese Conjugation Helper/Module1.vb

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -674,17 +674,16 @@ Module Module1
674674

675675
ActualSearchWord = Left(ActualSearchWord, ActualSearchWord.Length - 8)
676676
Max = 0 'because we are in the "else" part of the if statement which means that the user inputted no number or 1
677-
WordChoice = 0
677+
WordChoice = 1
678678
End If 'end of one word scrapping and all scrapping _______________________________________________________________________________________________________________________
679679

680+
'WordChoice = WordChoice - 1
681+
680682
Dim IsCommon As Boolean
681683
If CommonWord(WordChoice - 1) = "True" Then
682684
IsCommon = True
683685
End If
684686

685-
If WordChoice = 0 Then
686-
WordChoice = 1
687-
End If
688687

689688
'Building of the chosen Definition and Type arrays:
690689
Dim SelectedDefinition() As String = FoundDefinitions(0).Split("|")

0 commit comments

Comments
 (0)