Fix typo that copied argv to argc.

This commit is contained in:
H. Utku Maden 2023-09-09 21:50:56 +03:00
parent 9fed914164
commit 2751a98e33
Signed by: themixedupstuff
GPG Key ID: 25A001B636F17843

@ -24,7 +24,7 @@ MX_IMPL void mx_options_begin_r(mx_options_t *self, mx_optflag_t flags, int argc
MX_ASSERT(argc > 0, "Arguments count must be greater than zero.");
self->flags = flags;
self->argc = argv;
self->argv = argv;
self->argc = argc;
self->i = 0;
self->kind = MX_OPT_END;