mirror of
https://github.com/aaru-dps/fstester.git
synced 2025-12-16 19:24:39 +00:00
Fix incorrect handle comparison.
This commit is contained in:
@@ -60,7 +60,7 @@ void Filenames(const char* path)
|
||||
{
|
||||
handle = Fcreate((char*)filenames[pos], 0);
|
||||
|
||||
if(handle < 0)
|
||||
if(handle > 0)
|
||||
{
|
||||
memset(message, 0, 300);
|
||||
sprintf(message, FILENAME_FORMAT, filenames[pos]);
|
||||
|
||||
Reference in New Issue
Block a user