UnitMain: Make sure the item index is correct.
commit479c5887f0db60c4610cdeeb5a5628e1b30fc8bf
authorJonathan Barnard <winelauncher.jonathan@googlemail.com>
Fri, 6 Mar 2009 03:59:49 +0000 (6 03:59 +0000)
committerJonathan Barnard <winelauncher.jonathan@googlemail.com>
Fri, 6 Mar 2009 03:59:49 +0000 (6 03:59 +0000)
treefc44f08f0d44652f197a2a817a7a1516d17f54f5
parentdcab4541cb373975290d19341df33806576717c5
UnitMain: Make sure the item index is correct.

If you had two prefix's next to each other in the prefix list that had the same first program name, then the item index would be set to -1.
UnitMain.lfm
UnitMain.pas