mirror of
https://github.com/utkumaden/libmx.git
synced 2025-01-22 21:46:33 +01:00
Fix typo that copied argv to argc.
This commit is contained in:
parent
9fed914164
commit
2751a98e33
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user