Fix possible segfault when parsing options

This commit is contained in:
Philippe Pepiot 2010-04-10 18:38:21 +02:00
parent 8b16176edc
commit f6486d803c

View File

@ -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;