Fixed a bug with ChangeUI and no branding image

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@629 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2002-08-02 15:29:22 +00:00
parent 3ba99607e2
commit 1f1042a645

View file

@ -227,7 +227,7 @@ DialogItemTemplate* CDialogTemplate::GetItem(WORD wId) {
// Returns info about the item with the indexed i
DialogItemTemplate* CDialogTemplate::GetItemByIdx(DWORD i) {
if (i > m_vItems.size()) return 0;
if (i >= m_vItems.size()) return 0;
return m_vItems[i];
}