web:: changed Pointer_stringify to UTF8ToString as suggested

This commit is contained in:
Zeno Rogue 2019-06-01 17:03:16 +02:00
parent 0489cde78e
commit 10529af236
1 changed files with 3 additions and 1 deletions

View File

@ -48,10 +48,12 @@ namespace hr {
void open_url(string s) {
EM_ASM_({
window.open(Pointer_stringify($0));
window.open(UTF8ToString($0, 1000));
}, s.c_str());
}
// window.open(Pointer_stringify($0));
bool demoanim;
void toggleanim(bool v) {