core/MenuManager.cpp
changeset 1243 51a088fbf549
parent 1231 17badaf66ce4
child 1257 6b41a24f3f36
     1.1 --- a/core/MenuManager.cpp	Wed Aug 01 16:52:51 2007 +0000
     1.2 +++ b/core/MenuManager.cpp	Wed Aug 01 17:51:38 2007 +0000
     1.3 @@ -843,6 +843,9 @@
     1.4  	} else if (strcmp(key, "MenuExitBackSound") == 0) {
     1.5  		m_ExitBackSound.assign(value);
     1.6  		return ConfigResult_Accept;
     1.7 +	} else if (strcmp(key, "MenuExitSound") == 0) {
     1.8 +		m_ExitSound.assign(value);
     1.9 +		return ConfigResult_Accept;
    1.10  	}
    1.11  
    1.12  	return ConfigResult_Ignore;
    1.13 @@ -856,7 +859,6 @@
    1.14  	{
    1.15  	case ItemSel_Back:
    1.16  	case ItemSel_Next:
    1.17 -	case ItemSel_Exit:
    1.18  	case ItemSel_Item:
    1.19  		{
    1.20  			if (m_SelectSound.size() > 0)
    1.21 @@ -873,6 +875,14 @@
    1.22  			}
    1.23  			break;
    1.24  		}
    1.25 +	case ItemSel_Exit:
    1.26 +		{
    1.27 +			if (m_ExitSound.size() > 0)
    1.28 +			{
    1.29 +				sound= m_ExitSound.c_str();
    1.30 +			}
    1.31 +			break;
    1.32 +		}
    1.33  	default:
    1.34  		{
    1.35  			break;