mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
fix bug where bogs dialog was popping up
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user