Fix pointer arithmetic bug
This commit is contained in:
parent
893d360a55
commit
43262ccb0e
2
c/main.c
2
c/main.c
|
@ -231,7 +231,7 @@ int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
fl_gc_handle(&os_command_line);
|
fl_gc_handle(&os_command_line);
|
||||||
os_command_line = argv_list(argc, cargv);
|
os_command_line = argv_list(argc, cargv);
|
||||||
command_line_offset = (command_line - cargv) / sizeof(*cargv);
|
command_line_offset = command_line - cargv;
|
||||||
FL_TRY_EXTERN
|
FL_TRY_EXTERN
|
||||||
{
|
{
|
||||||
if (versionflag) {
|
if (versionflag) {
|
||||||
|
|
Loading…
Reference in New Issue