fix warnings
This commit is contained in:
@@ -478,9 +478,7 @@ void EditMenu::OnRowValueChanged( EditMenuRow row )
|
|||||||
// fall through
|
// fall through
|
||||||
case ROW_STEPS:
|
case ROW_STEPS:
|
||||||
{
|
{
|
||||||
RString s;
|
RString s = DifficultyToLocalizedString(GetSelectedDifficulty());
|
||||||
Steps *pSteps = GetSelectedSteps();
|
|
||||||
s = DifficultyToLocalizedString(GetSelectedDifficulty());
|
|
||||||
|
|
||||||
// UGLY. "Edit" -> "New Edit"
|
// UGLY. "Edit" -> "New Edit"
|
||||||
switch( EDIT_MODE.GetValue() )
|
switch( EDIT_MODE.GetValue() )
|
||||||
@@ -536,7 +534,6 @@ void EditMenu::OnRowValueChanged( EditMenuRow row )
|
|||||||
m_textValue[ROW_SOURCE_STEPS].SetHidden( GetSelectedSteps() ? true : false );
|
m_textValue[ROW_SOURCE_STEPS].SetHidden( GetSelectedSteps() ? true : false );
|
||||||
{
|
{
|
||||||
RString s;
|
RString s;
|
||||||
Steps *pSourceSteps = GetSelectedSourceSteps();
|
|
||||||
if( GetSelectedSourceDifficulty() == DIFFICULTY_INVALID )
|
if( GetSelectedSourceDifficulty() == DIFFICULTY_INVALID )
|
||||||
s = BLANK;
|
s = BLANK;
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user