summaryrefslogtreecommitdiff
path: root/FreeFileSync/Source/RealTimeSync/application.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'FreeFileSync/Source/RealTimeSync/application.cpp')
-rw-r--r--FreeFileSync/Source/RealTimeSync/application.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/FreeFileSync/Source/RealTimeSync/application.cpp b/FreeFileSync/Source/RealTimeSync/application.cpp
index cc127249..a6edef0e 100644
--- a/FreeFileSync/Source/RealTimeSync/application.cpp
+++ b/FreeFileSync/Source/RealTimeSync/application.cpp
@@ -119,11 +119,11 @@ void Application::onEnterEventLoop(wxEvent& event)
{
Zstring filePath = getResolvedFilePath(toZ(argv[i]));
- if (!fileExists(filePath)) //be a little tolerant
+ if (!fileAvailable(filePath)) //be a little tolerant
{
- if (fileExists(filePath + Zstr(".ffs_real")))
+ if (fileAvailable(filePath + Zstr(".ffs_real")))
filePath += Zstr(".ffs_real");
- else if (fileExists(filePath + Zstr(".ffs_batch")))
+ else if (fileAvailable(filePath + Zstr(".ffs_batch")))
filePath += Zstr(".ffs_batch");
else
{
bgstack15