Skip to content

Commit

Permalink
Style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
terminalmage committed Sep 13, 2022
1 parent 977aad5 commit 780b653
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -204,9 +204,9 @@ private void setupControlButtons() {
});
butFF.setOnClickListener(v -> {
if (controller != null) {
int new_pos = controller.getPosition() + (UserPreferences.getFastForwardSecs() * 1000);
if (new_pos < controller.getDuration()) {
controller.seekTo(new_pos);
int newPos = controller.getPosition() + (UserPreferences.getFastForwardSecs() * 1000);
if (newPos < controller.getDuration()) {
controller.seekTo(newPos);
} else {
// Skip position exceeds end of episode. Prevent invalid
// no-op seek by skipping to next episode. See #5974.
Expand Down

0 comments on commit 780b653

Please sign in to comment.