Skip to content

Commit

Permalink
Merge pull request #306 from g-maxime/test
Browse files Browse the repository at this point in the history
Small fixes
  • Loading branch information
g-maxime authored Oct 29, 2024
2 parents 49f16b0 + 4e79256 commit a2d0807
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Source/Common/Core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -903,7 +903,7 @@ size_t Core::Menu_File_Save_File (const string &FileName)
Out_Core_CSV_FileName=ApplicationFolder.To_UTF8()+"/Backup-"+TimeS.To_UTF8()+".csv";
bool Simulation_Enabled_Save=Simulation_Enabled;
Simulation_Enabled=true;
Batch_Launch(Handler);
Batch_Launch();
Simulation_Enabled=Simulation_Enabled_Save;
Out_Core_CSV_FileName.clear();
Batch_IsBackuping=false;
Expand Down Expand Up @@ -941,7 +941,7 @@ size_t Core::Menu_File_Save_File_Start (const string &FileName)
Out_Core_CSV_FileName=ApplicationFolder.To_UTF8()+"/Backup-"+TimeS.To_UTF8()+".csv";
bool Simulation_Enabled_Save=Simulation_Enabled;
Simulation_Enabled=true;
Batch_Launch(Handler);
Batch_Launch();
Simulation_Enabled=Simulation_Enabled_Save;
Out_Core_CSV_FileName.clear();
Batch_IsBackuping=false;
Expand Down
6 changes: 3 additions & 3 deletions Source/Riff/Riff_Handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -567,8 +567,8 @@ bool Riff_Handler::Open_Internal(const string &FileName)
//Compute MD5
if (Chunks->Global->data &&
((Chunks->Global->GenerateMD5 && (!Chunks->Global->MD5Generated || Chunks->Global->MD5Generated->Strings["md5generated"].empty())) ||
(Chunks->Global->VerifyMD5 && (Chunks->Global->MD5Stored && !Chunks->Global->MD5Stored->Strings["md5stored"].empty())) ||
(Chunks->Global->EmbedMD5 && ((!Chunks->Global->MD5Stored || Chunks->Global->MD5Stored->Strings["md5stored"].empty()) || Chunks->Global->EmbedMD5_AuthorizeOverWritting))))
(Chunks->Global->VerifyMD5 && (Chunks->Global->MD5Stored && !Chunks->Global->MD5Stored->Strings["md5stored"].empty()) && (!Chunks->Global->MD5Generated || Chunks->Global->MD5Generated->Strings["md5generated"].empty())) ||
(Chunks->Global->EmbedMD5 && ((!Chunks->Global->MD5Stored || Chunks->Global->MD5Stored->Strings["md5stored"].empty()) || Chunks->Global->EmbedMD5_AuthorizeOverWritting) && (!Chunks->Global->MD5Generated || Chunks->Global->MD5Generated->Strings["md5generated"].empty()))))
{
size_t Buffer_Offset=0;
int8u* Buffer=nullptr;
Expand Down Expand Up @@ -2721,7 +2721,7 @@ bool Riff_Handler::IsValid_Internal(const string &Field_, const string &Value_,

//If error
if (!Message.empty())
IsValid_Errors<<"malformed input, ISRC "<<Message;
IsValid_Errors<<"malformed input, IDIT "<<Message;
}

//ISRC
Expand Down

0 comments on commit a2d0807

Please sign in to comment.