Improve ifdef - should be compiled in only if HAVE_OZONE is defined

This commit is contained in:
twinaphex 2020-02-14 14:31:02 +01:00
parent 369348ebaf
commit 2be5ffe4e9

View File

@ -1013,7 +1013,7 @@ void runtime_update_playlist(playlist_t *playlist, size_t idx)
free(runtime_log);
}
#ifdef HAVE_MENU
#if defined(HAVE_MENU) && defined(HAVE_OZONE)
/* Ozone requires runtime/last played strings to be
* populated even when no runtime is recorded */
if (string_is_equal(settings->arrays.menu_driver, "ozone"))