diff --git a/Gtk4_Reset/src/media_app/LyricsParser.cpp b/Gtk4_Reset/src/media_app/LyricsParser.cpp index 479e657..7e8017f 100644 --- a/Gtk4_Reset/src/media_app/LyricsParser.cpp +++ b/Gtk4_Reset/src/media_app/LyricsParser.cpp @@ -123,7 +123,7 @@ static void get_lyrics_line(const char *lyrics, char *lyrics_line1, gboolean res return; } - if (lyrics_loaded) + if (lyrics_loaded && lyrics) { // Find the '\n' while (lyrics[end_pos] != '\n' && lyrics[end_pos] != '\0')