Index: infobar.c =================================================================== --- infobar.c (revision 31016) +++ infobar.c (revision 31017) @@ -40,7 +40,7 @@ { rnd_actionva(hidlib, "InfoBarFileChanged", "close", NULL); if ((hidlib != NULL) && (hidlib->filename != NULL)) - last_date = pcb_file_mtime(NULL, PCB->hidlib.filename); + last_date = rnd_file_mtime(NULL, PCB->hidlib.filename); else last_date = -1; } @@ -58,7 +58,7 @@ if (infobar_timer_active) { /* check for file change */ if ((PCB != NULL) && (PCB->hidlib.filename != NULL)) { - double last_chg = pcb_file_mtime(NULL, PCB->hidlib.filename); + double last_chg = rnd_file_mtime(NULL, PCB->hidlib.filename); if (last_chg > last_date) { last_date = last_chg; rnd_actionva(&PCB->hidlib, "InfoBarFileChanged", "open", NULL); @@ -90,7 +90,7 @@ static void pcb_infobar_fn_chg_ev(rnd_hidlib_t *hidlib, void *user_data, int argc, rnd_event_arg_t argv[]) { if ((PCB != NULL) && (PCB->hidlib.filename != NULL)) { - last_date = pcb_file_mtime(NULL, PCB->hidlib.filename); + last_date = rnd_file_mtime(NULL, PCB->hidlib.filename); rnd_actionva(hidlib, "InfoBarFileChanged", "close", NULL); } }