From 3ae57e7b0da3ca577a1154706c4974f838cc9757 Mon Sep 17 00:00:00 2001 From: Ykkrosh Date: Mon, 10 Jan 2005 21:07:24 +0000 Subject: [PATCH] Inverted my accidental inversion of logic This was SVN commit r1697. --- source/lib/sysdep/win/wdetect.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/lib/sysdep/win/wdetect.cpp b/source/lib/sysdep/win/wdetect.cpp index b432cda8eb..03bae6d2ef 100755 --- a/source/lib/sysdep/win/wdetect.cpp +++ b/source/lib/sysdep/win/wdetect.cpp @@ -309,7 +309,8 @@ static void list_add_dll(const char* dll_path) // get filename for "already added" check. const char* dll_fn = strrchr(dll_path, '\\')+1; - if(dll_fn != (const char*)1) // fires if dll_path was a filename + + if(dll_fn == (const char*)1) // if dll_path was a filename { debug_warn("list_add_dll: invalid path"); return;