2
0
Эх сурвалжийг харах

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

Ben Payne 10 жил өмнө
parent
commit
3205fea936

+ 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;