diff options
Diffstat (limited to 'apps/playlist_viewer.c')
-rw-r--r-- | apps/playlist_viewer.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/apps/playlist_viewer.c b/apps/playlist_viewer.c index b41bee3c20..c249142bda 100644 --- a/apps/playlist_viewer.c +++ b/apps/playlist_viewer.c | |||
@@ -514,15 +514,15 @@ static bool viewer_menu(void) | |||
514 | /* Show icons in viewer? */ | 514 | /* Show icons in viewer? */ |
515 | static bool show_icons(void) | 515 | static bool show_icons(void) |
516 | { | 516 | { |
517 | return set_bool(str(LANG_SHOW_ICONS), | 517 | return set_bool((char *)str(LANG_SHOW_ICONS), |
518 | &global_settings.playlist_viewer_icons); | 518 | &global_settings.playlist_viewer_icons); |
519 | } | 519 | } |
520 | 520 | ||
521 | /* Show indices of tracks? */ | 521 | /* Show indices of tracks? */ |
522 | static bool show_indices(void) | 522 | static bool show_indices(void) |
523 | { | 523 | { |
524 | return set_bool(str(LANG_SHOW_INDICES), | 524 | return set_bool((char *)str(LANG_SHOW_INDICES), |
525 | &global_settings.playlist_viewer_indices); | 525 | &global_settings.playlist_viewer_indices); |
526 | } | 526 | } |
527 | 527 | ||
528 | /* How to display a track */ | 528 | /* How to display a track */ |
@@ -533,8 +533,9 @@ static bool track_display(void) | |||
533 | { STR(LANG_DISPLAY_FULL_PATH) } | 533 | { STR(LANG_DISPLAY_FULL_PATH) } |
534 | }; | 534 | }; |
535 | 535 | ||
536 | return set_option(str(LANG_TRACK_DISPLAY), | 536 | return set_option((char *)str(LANG_TRACK_DISPLAY), |
537 | &global_settings.playlist_viewer_track_display, INT, names, 2, NULL); | 537 | &global_settings.playlist_viewer_track_display, INT, names, 2, |
538 | NULL); | ||
538 | } | 539 | } |
539 | 540 | ||
540 | /* Save playlist to disk */ | 541 | /* Save playlist to disk */ |