mirror of https://github.com/daleclack/My_GtkUi
Fix a issue for media player
This commit is contained in:
parent
b2cb688217
commit
f6a66c7e8c
|
@ -123,7 +123,7 @@ static void get_lyrics_line(const char *lyrics, char *lyrics_line1, gboolean res
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (lyrics_loaded)
|
if (lyrics_loaded && lyrics)
|
||||||
{
|
{
|
||||||
// Find the '\n'
|
// Find the '\n'
|
||||||
while (lyrics[end_pos] != '\n' && lyrics[end_pos] != '\0')
|
while (lyrics[end_pos] != '\n' && lyrics[end_pos] != '\0')
|
||||||
|
|
Loading…
Reference in New Issue