Skip to content

Commit

Permalink
Fix label - 'Never' was always shown for playlist runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
LibretroAdmin committed Dec 28, 2024
1 parent 2c3e53e commit a3f631e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -1006,7 +1006,7 @@ void runtime_log_get_last_played_str(runtime_log_t *runtime_log,
case PLAYLIST_LAST_PLAYED_STYLE_AGO:
s[ _len] = ' ';
s[++_len] = '\0';
if ((runtime_last_played_human(runtime_log, s + _len, len - _len - 2)) > 0)
if ((runtime_last_played_human(runtime_log, s + _len, len - _len - 2)) == 0)
strlcat(s + _len,
msg_hash_to_str(
MENU_ENUM_LABEL_VALUE_PLAYLIST_INLINE_CORE_DISPLAY_NEVER),
Expand Down

0 comments on commit a3f631e

Please sign in to comment.