use path passed as parameter

This commit is contained in:
Riccardo Mottola 2021-02-22 16:00:48 +01:00
parent 059e105652
commit 78e4f47c8f

View file

@ -710,7 +710,7 @@
if ([[_storage string] writeToFile:path atomically:YES])
{
ASSIGN(_lastSaveDate, [[fm fileAttributesAtPath:_path traverseLink:NO] fileModificationDate]);
ASSIGN(_lastSaveDate, [[fm fileAttributesAtPath:path traverseLink:NO] fileModificationDate]);
return YES;
}