1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-15 15:53:55 +00:00

Fixed code comment

This commit is contained in:
Bryan Roe
2020-06-19 02:00:57 -07:00
parent 4b53dd5c61
commit 5b7a2efc33

View File

@@ -757,7 +757,7 @@ void ILibDuktape_fs_buffer_fd_read(duk_context *ctx, void ** args, int argsLen)
duk_get_prop_string(ctx, -4, "bytesRead"); // [fs][array][obj][func][this][err][bytesRead]
duk_get_prop_string(ctx, -5, "buffer"); // [fs][array][obj][func][this][err][bytesRead][buffer]
duk_get_prop_string(ctx, -6, "options"); // [fs][array][obj][func][this][err][bytesRead][buffer][options]
duk_remove(ctx, -7); // [fs][array][func][this][err][bytesRead][buffer][options]
duk_remove(ctx, -7); // [fs][array][obj][func][this][err][bytesRead][buffer][options]
if (duk_pcall_method(ctx, 4) != 0)
{
ILibDuktape_Process_UncaughtExceptionEx(ctx, "fs.read.bufferFD.callback() ");