bug: Fix loading of bookmark name and comment from project file

Fixes #211
This commit is contained in:
WerWolv 2021-03-27 22:54:26 +01:00
parent a17bc43d80
commit f263685e44
1 changed files with 2 additions and 0 deletions

View File

@ -21,7 +21,9 @@ namespace hex {
j.at("locked").get_to(b.locked);
std::copy(name.begin(), name.end(), std::back_inserter(b.name));
b.name.push_back('\0');
std::copy(comment.begin(), comment.end(), std::back_inserter(b.comment));
b.comment.push_back('\0');
}