1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[mujs] Typos

This commit is contained in:
Witold Filipczyk 2024-06-04 14:31:14 +02:00
parent de54805f6c
commit bf1ef237b7

View File

@ -346,7 +346,7 @@ mjs_window_clearInterval(js_State *J)
#endif
const char *text = js_tostring(J, 1);
int64_t number = atoll(text);
struct ecmascript_timeout *t = (struct ecmasctript_timeout *)(number);
struct ecmascript_timeout *t = (struct ecmascript_timeout *)(number);
if (t && found_in_map_timer(t->tid)) {
kill_timer(&t->tid);
@ -365,7 +365,7 @@ mjs_window_clearTimeout(js_State *J)
#endif
const char *text = js_tostring(J, 1);
int64_t number = atoll(text);
struct ecmascript_timeout *t = (struct ecmasctript_timeout *)(number);
struct ecmascript_timeout *t = (struct ecmascript_timeout *)(number);
if (t && found_in_map_timer(t->tid)) {
kill_timer(&t->tid);