* Fixup last checkin.

This commit is contained in:
Justin Maggard
2011-09-04 04:07:36 +00:00
parent cb5ab0b1c6
commit 715af3519b
2 changed files with 5 additions and 1 deletions

View File

@ -147,7 +147,7 @@ fill_playlists()
if( last_dir )
{
fname = basename(plist.path);
detailID = sql_get_int_field(db, "SELECT ID from DETAILS where PATH = '%s/%s'", last_dir, fname);
detailID = sql_get_int_field(db, "SELECT ID from DETAILS where PATH = '%q/%q'", last_dir, fname);
if( detailID <= 0 )
{
sqlite3_free(last_dir);