summaryrefslogtreecommitdiff
path: root/XMPFiles/source/FileHandlers/SonyHDV_Handler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'XMPFiles/source/FileHandlers/SonyHDV_Handler.cpp')
-rw-r--r--XMPFiles/source/FileHandlers/SonyHDV_Handler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/XMPFiles/source/FileHandlers/SonyHDV_Handler.cpp b/XMPFiles/source/FileHandlers/SonyHDV_Handler.cpp
index 9d9a9d4..17e5baf 100644
--- a/XMPFiles/source/FileHandlers/SonyHDV_Handler.cpp
+++ b/XMPFiles/source/FileHandlers/SonyHDV_Handler.cpp
@@ -713,7 +713,7 @@ bool SonyHDV_MetaHandler::GetFileModDate ( XMP_DateTime * modDate )
ok = this->MakeIndexFilePath ( fullPath, this->rootPath, this->clipName );
if ( ok ) ok = Host_IO::GetModifyDate ( fullPath.c_str(), &oneDate );
if ( ok ) {
- if ( (! haveDate) || (*modDate < oneDate) ) *modDate = oneDate;
+ if ( *modDate < oneDate ) *modDate = oneDate;
haveDate = true;
}