~q3cpma/csv-view

e1c213d676a8caa2c44be87a98e13524f038a0d4 — q3cpma 2 years ago 4112c64 master
Fix segfault
1 files changed, 1 insertions(+), 1 deletions(-)

M src/opt.c
M src/opt.c => src/opt.c +1 -1
@@ 56,13 56,13 @@ static const char float_fmt_regexp[] =
Options getopt_wrap(int argc, char **argv)
{
	Options ret = {0};
	const char *p = optarg;

	ret.float_fmt = "%g";
	ret.delim = ',';

	for(int opt; (opt = getopt(argc, argv, "f:d:hlmMr:tv")) != -1; )
	{
		const char *p = optarg;
		switch(opt)
		{
			case 'd':