fix bug where bogs dialog was popping up

This commit is contained in:
uid38180
2002-07-05 22:48:45 +00:00
parent 7dbcfaa25d
commit 692883aaa8

View File

@@ -213,7 +213,7 @@ void getfileinfo(char *filename, char *title, int *length_in_msec)
id3v1_struct tag;
FLAC__StreamMetadata streaminfo;
if(0 == filename) {
if(0 == filename || filename[0] == '\0') {
filename = lastfn_;
if (length_in_msec) {
*length_in_msec = getlength();