1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-31 22:23:54 +01:00

(bug 451, P2) Improve specificity of one of the "Gap detected..." messages, so it includes blockfile name and extension if possible. Also changed some wxLogError calls to wxLogWarning, as the plan is to handle them rather than fail the load.

Also made the "...will not be loaded" messages in LoadModules.cpp consistently use wxLogError.
This commit is contained in:
v.audacity
2011-10-12 23:17:40 +00:00
parent 4d1e18d8fd
commit 5697e39ec0
2 changed files with 12 additions and 6 deletions

View File

@@ -177,7 +177,7 @@ bool Module::Load()
// Check version string matches. (For now, they must match exactly)
tVersionFn versionFn = (tVersionFn)(mLib->GetSymbol(wxT(versionFnName)));
if (versionFn == NULL){
wxLogWarning(wxT("The module %s does not provide a version string. It will not be loaded."), mName.c_str());
wxLogError(wxT("The module %s does not provide a version string. It will not be loaded."), mName.c_str());
return false;
}