--- lrcplayer.c.orig 2009-10-18 23:18:20.390051000 +0400 +++ lrcplayer.c 2009-10-19 21:17:31.545261000 +0400 @@ -686,7 +686,33 @@ } dir = temp_buf; - do{ + + // snprintf(current.lrc_file, MAX_PATH, "%s%s/", dir, prefs.lrc_directry ); + + if(rb->dir_exists(current.lrc_file)) + { + for(current.type=0; current.typesnprintf(¤t.lrc_file[len], MAX_PATH-len, + "%s%s", names[i], extentions[current.type]); + if(rb->file_exists(current.lrc_file)) + return true; + } + } + } + + } + // NBA/> + + do{ q = p = names[0]-1; do{ *p = '/';