]> git.tuebingen.mpg.de Git - paraslash.git/commit - gui.c
gui: Parse command line options only once.
authorAndre Noll <maan@systemlinux.org>
Tue, 7 Jan 2014 15:59:27 +0000 (15:59 +0000)
committerAndre Noll <maan@systemlinux.org>
Sun, 4 May 2014 13:48:54 +0000 (15:48 +0200)
commit997ddacf9fcfc21a79304c316d7143de0cb3df9d
tree56c539cf86388229dd4db529e08f4aa5cbade82e
parent3889b355ca075111a717da36946c779b7474a63d
gui: Parse command line options only once.

There is no point in calling gui_cmdline_parser_ext() when rereading
the configuration since this parser only looks at the command line
options which never change.

Removing the call in com_reread_conf() also allows to get rid of the
global _argc and _argv variables.
gui.c