tiny comment and debug string change

This was SVN commit r719.
This commit is contained in:
janwas 2004-07-12 14:22:17 +00:00
parent afd7f721d4
commit c27c765121

View File

@ -95,7 +95,7 @@ int res_reload_changed_files()
char* ext = strrchr(fn, '.'); char* ext = strrchr(fn, '.');
if(ext && !strcmp(ext, ".tmp")) if(ext && !strcmp(ext, ".tmp"))
continue; continue;
// .. directory change (more info is upcoming anyway) // .. and directory change (more info is upcoming anyway)
if(!ext && e.code == FAMChanged) // dir changed if(!ext && e.code == FAMChanged) // dir changed
continue; continue;
// .. and reloads for the same file within a small timeframe. // .. and reloads for the same file within a small timeframe.
@ -103,8 +103,8 @@ int res_reload_changed_files()
if(cur_time - last_time < 50e-3 && !strcmp(last_fn, fn)) if(cur_time - last_time < 50e-3 && !strcmp(last_fn, fn))
continue; continue;
debug_out("res_reload %s\n\n", fn);
res_reload(fn); res_reload(fn);
debug_out("%s\n\n", fn);
last_time = get_time(); last_time = get_time();
strcpy(last_fn, fn); strcpy(last_fn, fn);