mirror of
https://github.com/dschmenk/PLASMA.git
synced 2025-02-10 10:30:58 +00:00
Fix another SOS-ism
This commit is contained in:
parent
5c8fbfdcf4
commit
c83ed2c494
@ -89,7 +89,7 @@ def chkdstpath(dstfile)
|
|||||||
//
|
//
|
||||||
// Check if copying into a directory
|
// Check if copying into a directory
|
||||||
//
|
//
|
||||||
if dstfileinfo.file_type == $0F
|
if dstfileinfo.storage_type & $0D == $0D
|
||||||
if dstfile->[^dstfile] <> '/'
|
if dstfile->[^dstfile] <> '/'
|
||||||
//
|
//
|
||||||
// Add path seperator
|
// Add path seperator
|
||||||
@ -114,7 +114,7 @@ def copyfiles(srcfile, dstfile)#0
|
|||||||
//
|
//
|
||||||
strcpy(@srcpath, srcfile)
|
strcpy(@srcpath, srcfile)
|
||||||
wildname = 0
|
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)
|
filefrompath(@wildname, @srcpath)
|
||||||
srcpath = srcpath - wildname
|
srcpath = srcpath - wildname
|
||||||
fin
|
fin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user