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:
parent
f7bf880096
commit
cc39456d49
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue