Fix pointer arithmetic bug

This commit is contained in:
Lassi Kortela 2020-04-07 12:37:10 +03:00
parent 893d360a55
commit 43262ccb0e
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ int main(int argc, char **argv)
{
fl_gc_handle(&os_command_line);
os_command_line = argv_list(argc, cargv);
command_line_offset = (command_line - cargv) / sizeof(*cargv);
command_line_offset = command_line - cargv;
FL_TRY_EXTERN
{
if (versionflag) {