GTK: Fix an uninitialized variable causing potential crashes in the joypad config dialog.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1053 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
bgk 2011-12-27 19:20:49 +00:00
parent f7bf880096
commit cc39456d49
1 changed files with 2 additions and 1 deletions

View File

@ -51,7 +51,8 @@ JoypadConfigDialog::JoypadConfigDialog(Config::Section * _poConfig) :
m_oTable(G_N_ELEMENTS(m_astKeys), 2, false),
m_bUpdating(false),
m_ePad(PAD_MAIN),
m_poConfig(_poConfig)
m_poConfig(_poConfig),
m_iCurrentEntry(-1)
{
// Joypad selection
m_oTitleCombo.append_text("1");