This is C, not Python... :/

!binarydir[0] == '\0' works by accident, but let's do things right...
This commit is contained in:
Yamagi Burmeister 2017-07-24 10:23:00 +02:00
parent 3ba9729946
commit 97f7625e49

View file

@ -1542,7 +1542,7 @@ void FS_BuildRawPath(void) {
// Add $binarydir/baseq2
const char *binarydir = Sys_GetBinaryDir();
if(!binarydir[0] == '\0')
if(binarydir[0] != '\0')
{
FS_AddDirToRawPath(binarydir, false, false);
}