Browse Source

Add a comment about an incorrect condition that I'm not sure how to fix

Ben Payne 10 years ago
parent
commit
3205fea936
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Engine/source/platform/platformFileIO.cpp

+ 1 - 0
Engine/source/platform/platformFileIO.cpp

@@ -421,6 +421,7 @@ StringTableEntry Platform::makeRelativePathName(const char *path, const char *to
 
 
    else
    else
    {
    {
+      // FIXME: This condition is clearly wrong
       if((*pathPtr == 0 && *toPtr == '/') || (*toPtr == '/' && *pathPtr == 0))
       if((*pathPtr == 0 && *toPtr == '/') || (*toPtr == '/' && *pathPtr == 0))
          branch = pathPtr;
          branch = pathPtr;