diff -r f0231833e6ec -r fad7c45dacf5 core/MenuManager.cpp --- a/core/MenuManager.cpp Sat Jun 16 21:42:05 2007 +0000 +++ b/core/MenuManager.cpp Sat Jun 16 21:56:12 2007 +0000 @@ -126,6 +126,7 @@ */ unsigned int dup_array[256]; + unsigned int total = m_Votes[0]; for (size_t i=1; i m_Votes[highest]) @@ -141,6 +142,7 @@ */ dup_array[dup_count++] = i; } + total += m_Votes[i]; } /* Check if we need to pick from the duplicate list */ @@ -160,7 +162,7 @@ } picked_item: - m_pHandler->OnMenuVoteEnd(m_pCurMenu, chosen); + m_pHandler->OnMenuVoteEnd(m_pCurMenu, chosen, m_Votes[highest], total); m_pHandler->OnMenuEnd(m_pCurMenu); InternalReset(); }