mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: make event name an std::string
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
408b31b6ce
commit
b8c7b173c6
20 changed files with 149 additions and 152 deletions
|
@ -91,7 +91,7 @@ static void put_HTML_bookmarks(struct membuffer *b, struct dive *dive)
|
|||
put_string(b, separator);
|
||||
separator = ", ";
|
||||
put_string(b, "{\"name\":\"");
|
||||
put_quoted(b, ev->name, 1, 0);
|
||||
put_quoted(b, ev->name.c_str(), 1, 0);
|
||||
put_string(b, "\",");
|
||||
put_format(b, "\"value\":\"%d\",", ev->value);
|
||||
put_format(b, "\"type\":\"%d\",", ev->type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue