Skip to content
Snippets Groups Projects
Commit 22b056f9 authored by BIOPZ-Johner Niklaus's avatar BIOPZ-Johner Niklaus
Browse files

Fixed the compound name assignment in the compound library.

parent bf46ad1a
Branches
Tags
No related merge requests found
......@@ -224,6 +224,7 @@ void CompoundLib::AddCompound(const CompoundPtr& compound)
modi_date_str=modi_date.ToString();
sqlite3_bind_text(stmt, 7, crea_date_str.c_str(), crea_date_str.length(), NULL);
sqlite3_bind_text(stmt, 8, modi_date_str.c_str(), modi_date_str.length(), NULL);
sqlite3_bind_text(stmt, 9, compound->GetName().c_str(), compound->GetName().length(), NULL);
int charge=compound->GetCharge();
sqlite3_bind_int(stmt, 10, charge);
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment