let mut rcfile = home_path.into_os_string();
rcfile.push(std::path::MAIN_SEPARATOR_STR);
rcfile.push(".naplayerrc");
- debug_log!(self; {format!("opening settings file {rcfile}")});
+ debug_log!(player; {format!("opening settings file {}", rcfile.to_string_lossy())});
if let Ok(file) = File::open(rcfile) {
let br = BufReader::new(file);
for (n, line) in br.lines().enumerate() {
continue;
}
if let (Ok(thr_w), Ok(thr_h)) = (dim[0].parse::<usize>(), dim[1].parse::<usize>()) {
- debug_log!(self; {format!(" set autoscale threshold to {thr_w}x{thr_h}")});
+ debug_log!(player; {format!(" set autoscale threshold to {thr_w}x{thr_h}")});
player.thr_w = thr_w;
player.thr_h = thr_h;
} else {