소스 검색

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;