Fix possible segfault when parsing options
This commit is contained in:
parent
8b16176edc
commit
f6486d803c
@ -478,7 +478,7 @@ main(int argc, char **argv)
|
||||
break;
|
||||
|
||||
case 'c':
|
||||
exec_uicb_function(argv[2], ((argv[3]) ? argv[3] : NULL));
|
||||
exec_uicb_function(optarg, argv[optind]);
|
||||
XCloseDisplay(dpy);
|
||||
exit(EXIT_SUCCESS);
|
||||
break;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user