Forget to clean string after display of messagebox

This commit is contained in:
jerryjacobs 2009-07-06 16:09:22 +00:00
parent d1e44864eb
commit f467074cc0
1 changed files with 2 additions and 0 deletions

View File

@ -147,6 +147,7 @@ bool LoadFootprintFiles( const wxArrayString& libNames,
wxString message = _("The following mdc files could not be found:\n\n");
message += mdc_files_not_found;
wxMessageBox( message, _("Load error!"), wxOK | wxICON_ERROR );
mdc_files_not_found = wxT("");
}
/* Display if there are mdc files invalid */
@ -155,6 +156,7 @@ bool LoadFootprintFiles( const wxArrayString& libNames,
wxString message = _("The following mdc files are invalid:\n\n");
message += mdc_files_invalid;
wxMessageBox( message, _("Load error!"), wxOK | wxICON_ERROR );
mdc_files_invalid = wxT("");
}
list.sort();