Fix validate method for the subtitle/select/visible command

Originally committed to SVN as r5867.
This commit is contained in:
Thomas Goyne 2011-11-16 22:43:45 +00:00
parent 2cb234b414
commit 14c9d8ec87

View file

@ -415,7 +415,7 @@ struct subtitle_select_visible : public Command {
c->selectionController->SetSelectedSet(new_selection);
}
bool Validate(agi::Context *c) {
bool Validate(const agi::Context *c) {
return c->videoController->IsLoaded();
}
};