1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2026-01-06 10:34:09 +00:00

1. Fixed UTF8 characters for notifybar-desktop on linux

2. Fixed compiler warning, and missing #ifdef
This commit is contained in:
Bryan Roe
2020-06-18 22:44:07 -07:00
parent 6158940b6e
commit 885c6de72a
5 changed files with 8 additions and 4 deletions

View File

@@ -235,6 +235,7 @@ duk_ret_t ILibDuktape_fs_closeSync(duk_context *ctx)
{
return(0);
}
#ifdef WIN32
if (duk_is_number(ctx, 0))
{
void *tmp = (void*)(uintptr_t)duk_require_uint(ctx, 0);
@@ -257,6 +258,7 @@ duk_ret_t ILibDuktape_fs_closeSync(duk_context *ctx)
return(0);
}
}
#endif
int fd = duk_require_int(ctx, 0);
if (fd < 65535)