throw away Menu::GetPosition() as Menu::Choice() does the same

oh cool, I forgot that such function already exists under different name ~~
This commit is contained in:
Andrzej Rybczak
2009-05-26 22:11:49 +02:00
parent 5519e5c9bc
commit 10a9427270
6 changed files with 9 additions and 11 deletions

View File

@@ -276,7 +276,7 @@ void Browser::MouseButtonPressed(MEVENT me)
}
else
{
size_t pos = w->GetPosition();
size_t pos = w->Choice();
SpacePressed();
if (pos < w->Size()-1)
w->Scroll(wUp);
@@ -286,7 +286,7 @@ void Browser::MouseButtonPressed(MEVENT me)
case itSong:
if (me.bstate & BUTTON1_PRESSED)
{
size_t pos = w->GetPosition();
size_t pos = w->Choice();
SpacePressed();
if (pos < w->Size()-1)
w->Scroll(wUp);