diff options
Diffstat (limited to 'source/common/adfile.c')
-rw-r--r-- | source/common/adfile.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/common/adfile.c b/source/common/adfile.c index dc1f0a2..48ff89f 100644 --- a/source/common/adfile.c +++ b/source/common/adfile.c @@ -288,7 +288,6 @@ FlSplitInputPathname ( *OutDirectoryPath = NULL; - *OutFilename = NULL; if (!InputPath) { @@ -334,6 +333,10 @@ FlSplitInputPathname ( } *OutDirectoryPath = DirectoryPath; - *OutFilename = Filename; + + if (OutFilename) + { + *OutFilename = Filename; + } return (AE_OK); } |