From cc435ba81737acb4f55f2caf800bf930927e9774 Mon Sep 17 00:00:00 2001 From: James Turner Date: Mon, 9 Aug 2010 09:13:28 +0100 Subject: [PATCH] Fix Win32 build of SGPath. --- simgear/misc/sg_path.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/simgear/misc/sg_path.cxx b/simgear/misc/sg_path.cxx index fc6856dd..1711cb3c 100644 --- a/simgear/misc/sg_path.cxx +++ b/simgear/misc/sg_path.cxx @@ -207,8 +207,8 @@ void SGPath::validate() const _exists = false; } else { _exists = true; - _isFile = ((S_IFREG & buf.st_mode ) !=0) - _isDir = ((S_IFDIR & buf.st_mode ) !=0) + _isFile = ((S_IFREG & buf.st_mode ) !=0); + _isDir = ((S_IFDIR & buf.st_mode ) !=0); } #else -- 2.39.5