Hydrogenaudio Forums

Hosted Forums => foobar2000 => Development - (fb2k) => Topic started by: Hero.Hua on 2003-08-28 16:42:43

Title: A bug for 0.7SDK
Post by: Hero.Hua on 2003-08-28 16:42:43
in file metadb_handle.cpp
Code: [Select]
bool metadb_handle::handle_query_meta_field(const char * name,int num,string_base & out)
{
    bool rv = false;
    handle_lock();
    const file_info * info = handle_query_locked();
    if (info)
    {
 const char * val = info->meta_get(name,num);
 if (val)
 {
     out = val;
//      rv = false; //a bug
     rv = true;  //should be this
 }
    }
    handle_unlock();
//             return false;   // a bug here
    return rv;     //should be this
}


should correct it, then rebuild it.
Title: A bug for 0.7SDK
Post by: Peter on 2003-08-29 02:50:47
Fixed (after RC8), thanks.
Title: A bug for 0.7SDK
Post by: Hero.Hua on 2003-09-05 02:49:33
Not fixed yet in RC11 SDK

should be:
Code: [Select]
 
    return rv;
SimplePortal 1.0.0 RC1 © 2008-2020