From a9db9528ae3df9215a35b088ad2d87bfd2b5c614 Mon Sep 17 00:00:00 2001 From: Ted John Date: Sat, 22 Oct 2016 22:35:12 +0100 Subject: [PATCH] Fix bitwise and expression --- src/ride/TrackDesignRepository.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ride/TrackDesignRepository.cpp b/src/ride/TrackDesignRepository.cpp index 5e6660d81a..f0fa587933 100644 --- a/src/ride/TrackDesignRepository.cpp +++ b/src/ride/TrackDesignRepository.cpp @@ -148,7 +148,7 @@ public: if (index != SIZE_MAX) { TrackRepositoryItem * item = &_items[index]; - if (!item->Flags & TRIF_READ_ONLY) + if (!(item->Flags & TRIF_READ_ONLY)) { utf8 newPath[MAX_PATH]; Path::GetDirectory(newPath, sizeof(newPath), path);