fix bug where bogs dialog was popping up
authoruid38180 <uid38180>
Fri, 5 Jul 2002 22:48:45 +0000 (22:48 +0000)
committeruid38180 <uid38180>
Fri, 5 Jul 2002 22:48:45 +0000 (22:48 +0000)
src/plugin_winamp2/in_flac.c

index 003c017..4ef18de 100644 (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();