change wCurrent and wPrev to myScreen
This commit is contained in:
@@ -51,8 +51,8 @@ void Playlist::SwitchTo()
|
||||
)
|
||||
{
|
||||
CLEAR_FIND_HISTORY;
|
||||
wCurrent = w;
|
||||
wCurrent->Hide();
|
||||
myScreen = this;
|
||||
w->Hide();
|
||||
current_screen = csPlaylist;
|
||||
// redraw_screen = 1;
|
||||
redraw_header = 1;
|
||||
@@ -148,4 +148,4 @@ const MPD::Song &Playlist::NowPlayingSong()
|
||||
{
|
||||
static MPD::Song null;
|
||||
return isPlaying() ? w->at(NowPlaying) : null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user