From: James Turner Date: Mon, 9 Aug 2010 08:13:28 +0000 (+0100) Subject: Fix Win32 build of SGPath. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cc435ba81737acb4f55f2caf800bf930927e9774;p=simgear.git Fix Win32 build of SGPath. --- 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