diff --git a/moo/lib/main.c b/moo/lib/main.c index 004a392..5b0de2f 100644 --- a/moo/lib/main.c +++ b/moo/lib/main.c @@ -2364,7 +2364,7 @@ int main (int argc, char* argv[]) xtn->source_path = argv[i]; compile: - if (moo_compile (moo, input_handler) <= -1) + if (moo_compile(moo, input_handler) <= -1) { if (moo->errnum == MOO_ESYNERR) { @@ -2419,7 +2419,7 @@ int main (int argc, char* argv[]) objname.len = 8; mthname.ptr = str_main; mthname.len = 4; - if (moo_invoke (moo, &objname, &mthname) <= -1) + if (moo_invoke(moo, &objname, &mthname) <= -1) { moo_logbfmt (moo, MOO_LOG_STDERR, "ERROR: cannot execute code - [%d] %js\n", moo_geterrnum(moo), moo_geterrmsg(moo)); xret = -1; diff --git a/moo/lib/moo.c b/moo/lib/moo.c index b531369..d211d48 100644 --- a/moo/lib/moo.c +++ b/moo/lib/moo.c @@ -94,7 +94,7 @@ int moo_init (moo_t* moo, moo_mmgr_t* mmgr, moo_oow_t heapsz, const moo_vmprim_t MOO_MEMSET (moo, 0, MOO_SIZEOF(*moo)); moo->mmgr = mmgr; - moo->cmgr = moo_getutf8cmgr (); + moo->cmgr = moo_getutf8cmgr(); moo->vmprim = *vmprim; moo->option.log_mask = ~0u;