mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-18 07:02:28 +00:00
web:: provide length for svg screenshots in web
This commit is contained in:
+2
-2
@@ -207,9 +207,9 @@ EX always_false in;
|
||||
EM_ASM_({
|
||||
var x=window.open();
|
||||
x.document.open();
|
||||
x.document.write(UTF8ToString($0));
|
||||
x.document.write(UTF8ToString($0, $1));
|
||||
x.document.close();
|
||||
}, sout.s.c_str());
|
||||
}, sout.s.c_str(), int(sout.s.size()));
|
||||
#else
|
||||
printf("%s\n", sout.s.c_str());
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user