diff --git a/common/common.cpp b/common/common.cpp index b3490b2d8f..407d0c465b 100644 --- a/common/common.cpp +++ b/common/common.cpp @@ -716,7 +716,7 @@ long long TimestampDir( const wxString& aDirPath, const wxString& aFilespec ) if( dir.IsOpened() ) { - if( dir.GetFirst( &fullname, filespec ) ) + if( dir.GetFirst( &fullname, aFilespec ) ) { do {