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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user