diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/tree.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/tree.c b/apps/tree.c index 1ac9dc6ef0..cea092164b 100644 --- a/apps/tree.c +++ b/apps/tree.c | |||
@@ -368,17 +368,15 @@ void start_resume(void) | |||
368 | } | 368 | } |
369 | } | 369 | } |
370 | else { | 370 | else { |
371 | int start_index; | ||
372 | |||
373 | if (!ask_resume()) | 371 | if (!ask_resume()) |
374 | return; | 372 | return; |
375 | 373 | ||
376 | if (showdir(global_settings.resume_file, 0) < 0 ) | 374 | if (showdir(global_settings.resume_file, 0) < 0 ) |
377 | return; | 375 | return; |
378 | start_index = build_playlist(global_settings.resume_index); | 376 | build_playlist(global_settings.resume_index); |
379 | play_list(global_settings.resume_file, | 377 | play_list(global_settings.resume_file, |
380 | NULL, | 378 | NULL, |
381 | start_index, | 379 | global_settings.resume_index, |
382 | global_settings.resume_offset, | 380 | global_settings.resume_offset, |
383 | global_settings.resume_seed); | 381 | global_settings.resume_seed); |
384 | } | 382 | } |