From 3205fea9364d56c7dd0fc16f388e945ecf3082b8 Mon Sep 17 00:00:00 2001 From: Ben Payne Date: Wed, 18 Feb 2015 21:03:22 -0500 Subject: [PATCH] Add a comment about an incorrect condition that I'm not sure how to fix --- Engine/source/platform/platformFileIO.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Engine/source/platform/platformFileIO.cpp b/Engine/source/platform/platformFileIO.cpp index 33fff52b7..d7b742303 100644 --- a/Engine/source/platform/platformFileIO.cpp +++ b/Engine/source/platform/platformFileIO.cpp @@ -421,6 +421,7 @@ StringTableEntry Platform::makeRelativePathName(const char *path, const char *to else { + // FIXME: This condition is clearly wrong if((*pathPtr == 0 && *toPtr == '/') || (*toPtr == '/' && *pathPtr == 0)) branch = pathPtr;