mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-02 17:09:26 +02:00
Bug Fix 1979 and fix CreateHardLink arg conversion errors
This commit is contained in:
parent
9d18263be6
commit
4e57a369be
@ -75,8 +75,9 @@ bool FileNames::HardLinkFile( const wxString& file1, const wxString& file2 )
|
||||
{
|
||||
#ifdef __WXMSW__
|
||||
|
||||
return ::CreateHardLinkA( file1.c_str(), file2.c_str(), NULL );
|
||||
//return false;
|
||||
// Fix forced ASCII conversions and wrong argument order - MJB - 29/01/2019
|
||||
//return ::CreateHardLinkA( file1.c_str(), file2.c_str(), NULL );
|
||||
return ( 0 != ::CreateHardLink( file2, file1, NULL ) );
|
||||
|
||||
#else
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user