aboutsummaryrefslogtreecommitdiff
path: root/sokol_args.h
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2019-02-16 20:34:25 +0100
committerGitHub <noreply@github.com>2019-02-16 20:34:25 +0100
commit75a16e2ace39a5917a6296960f106d1223a9219a (patch)
treec44eff2cc39b230551dcd387f0759136a9eab258 /sokol_args.h
parent6537e3ed151b7906fb0d84f05fe1ac740517c9cd (diff)
Emscripten platform updates (#116)
* preparations for MINIMAL_RUNTIME * better closure compiler compatibility * replace deprecated functions with 'modern' equivalents
Diffstat (limited to 'sokol_args.h')
-rw-r--r--sokol_args.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sokol_args.h b/sokol_args.h
index 2577f4cf..c170fced 100644
--- a/sokol_args.h
+++ b/sokol_args.h
@@ -632,7 +632,7 @@ EM_JS(void, sargs_js_parse_url, (), {
for (var p = params.next(); !p.done; p = params.next()) {
var key = p.value[0];
var val = p.value[1];
- var res = Module.ccall('_sargs_add_kvp', 'void', ['string','string'], [key,val]);
+ var res = ccall('_sargs_add_kvp', 'void', ['string','string'], [key,val]);
}
});