From 90e2bc676f34310ac304de377f2d541ae953b614 Mon Sep 17 00:00:00 2001 From: belliash Date: Mon, 23 Jul 2018 15:46:01 +0200 Subject: [PATCH] Fix for #2, taken from 063a5cffb7 (file_magic branch). Thanks to BigDave. --- engine/vfs.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/engine/vfs.c b/engine/vfs.c index a63ff24..c8bddaf 100644 --- a/engine/vfs.c +++ b/engine/vfs.c @@ -2905,10 +2905,6 @@ PH7_PRIVATE void *PH7_StreamOpenHandle(ph7_vm *pVm, const ph7_io_stream *pStream /* Try to open the file */ rc = pStream->xOpen((const char *)SyBlobData(&sWorker), iFlags, pResource, &pHandle); if(rc == PH7_OK) { - if(bPushInclude) { - /* Mark as included */ - PH7_VmPushFilePath(pVm, (const char *)SyBlobData(&sWorker), FALSE, pNew); - } break; } /* Reset the working buffer */