]> granicus.if.org Git - nethack/commitdiff
fix arg order
authorAdam Powers <apowers@ato.ms>
Sat, 29 Aug 2020 21:48:22 +0000 (14:48 -0700)
committerAdam Powers <apowers@ato.ms>
Sat, 29 Aug 2020 21:48:22 +0000 (14:48 -0700)
sys/lib/README.md

index f0347b184e29413d7e6384e5a38a1a67636cc0f1..3d314eb317fcb3fc178dcc09b19045a0492710d0 100644 (file)
@@ -87,7 +87,7 @@ function setGraphicsCallback() {
 // this is the "shim graphics" callback function
 // it gets called every time something needs to be displayed
 // or input needs to be gathered from the user
-function windowCallback(name, fmt, retPtr, args) {
+function windowCallback(name, retPtr, fmt, args) {
     name = Module.UTF8ToString(name);
     fmt = Module.UTF8ToString(fmt);
     let argTypes = fmt.split("");