mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-18 15:00:26 +00:00
web:: changed Pointer_stringify to UTF8ToString as suggested
This commit is contained in:
parent
0489cde78e
commit
10529af236
@ -48,10 +48,12 @@ namespace hr {
|
|||||||
|
|
||||||
void open_url(string s) {
|
void open_url(string s) {
|
||||||
EM_ASM_({
|
EM_ASM_({
|
||||||
window.open(Pointer_stringify($0));
|
window.open(UTF8ToString($0, 1000));
|
||||||
}, s.c_str());
|
}, s.c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// window.open(Pointer_stringify($0));
|
||||||
bool demoanim;
|
bool demoanim;
|
||||||
|
|
||||||
void toggleanim(bool v) {
|
void toggleanim(bool v) {
|
||||||
|
Loading…
Reference in New Issue
Block a user