From aa00622e56541fda0bd7b72504c6a2d2917deed6 Mon Sep 17 00:00:00 2001 From: Cary Sandvig Date: Tue, 9 Jan 2001 00:22:30 +0000 Subject: [PATCH] d'oh --- dtool/src/dtoolutil/filename.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dtool/src/dtoolutil/filename.cxx b/dtool/src/dtoolutil/filename.cxx index a7c26c0885..42864682ac 100644 --- a/dtool/src/dtoolutil/filename.cxx +++ b/dtool/src/dtoolutil/filename.cxx @@ -719,7 +719,7 @@ is_directory() const { //////////////////////////////////////////////////////////////////// bool Filename:: is_executable() const { - if (!exists()) { + if (exists()) { #ifdef WIN32_VC // no access() in windows, but to our advantage executables can only // end in .exe or .com