From c27c765121420affc393896c19a7367c286c63b6 Mon Sep 17 00:00:00 2001 From: janwas Date: Mon, 12 Jul 2004 14:22:17 +0000 Subject: [PATCH] tiny comment and debug string change This was SVN commit r719. --- source/lib/res/res.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/lib/res/res.cpp b/source/lib/res/res.cpp index 3874b74eb1..d6148a1b3f 100755 --- a/source/lib/res/res.cpp +++ b/source/lib/res/res.cpp @@ -95,7 +95,7 @@ int res_reload_changed_files() char* ext = strrchr(fn, '.'); if(ext && !strcmp(ext, ".tmp")) continue; - // .. directory change (more info is upcoming anyway) + // .. and directory change (more info is upcoming anyway) if(!ext && e.code == FAMChanged) // dir changed continue; // .. 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)) continue; +debug_out("res_reload %s\n\n", fn); res_reload(fn); -debug_out("%s\n\n", fn); last_time = get_time(); strcpy(last_fn, fn);