1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2026-04-20 01:16:36 +00:00

Fix another SOS-ism

This commit is contained in:
Dave Schmenk
2020-01-10 18:50:54 -08:00
parent 5c8fbfdcf4
commit c83ed2c494
+2 -2
View File
@@ -89,7 +89,7 @@ def chkdstpath(dstfile)
//
// Check if copying into a directory
//
if dstfileinfo.file_type == $0F
if dstfileinfo.storage_type & $0D == $0D
if dstfile->[^dstfile] <> '/'
//
// Add path seperator
@@ -114,7 +114,7 @@ def copyfiles(srcfile, dstfile)#0
//
strcpy(@srcpath, srcfile)
wildname = 0
if fileio:getfileinfo(@srcpath, @srcfileinfo) <> FILE_ERR_OK or srcfileinfo.file_type <> $0F
if fileio:getfileinfo(@srcpath, @srcfileinfo) <> FILE_ERR_OK or (srcfileinfo.storage_type & $0D <> $0D)
filefrompath(@wildname, @srcpath)
srcpath = srcpath - wildname
fin