Commit 692883aa authored by uid38180's avatar uid38180
Browse files

fix bug where bogs dialog was popping up

parent 7dbcfaa2
...@@ -213,7 +213,7 @@ void getfileinfo(char *filename, char *title, int *length_in_msec) ...@@ -213,7 +213,7 @@ void getfileinfo(char *filename, char *title, int *length_in_msec)
id3v1_struct tag; id3v1_struct tag;
FLAC__StreamMetadata streaminfo; FLAC__StreamMetadata streaminfo;
if(0 == filename) { if(0 == filename || filename[0] == '\0') {
filename = lastfn_; filename = lastfn_;
if (length_in_msec) { if (length_in_msec) {
*length_in_msec = getlength(); *length_in_msec = getlength();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment