浏览代码

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

Ben Payne 10 年之前
父节点
当前提交
3205fea936
共有 1 个文件被更改,包括 1 次插入0 次删除
  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
    {
+      // FIXME: This condition is clearly wrong
       if((*pathPtr == 0 && *toPtr == '/') || (*toPtr == '/' && *pathPtr == 0))
          branch = pathPtr;