Hello all, Attached is a patch for dillo.c that merely ensures all command line arguments are parsed and complete before the GUI environment. Previous to this, the locale and GUI functions where run and then the command line, of which, in my opinion, should be run after the CLI because the CLI has the immediate commands. There is no point firing up the GUI when all one would like to know is the version they are running, right? Again, it's nothing major and doubtfully increases performance in any way. Regards, Russell
Hi Russell, Sorry for the late answer, the parser and pthreads kept me away from everything else. On Wed, Nov 03, 2004 at 08:05:17AM +0800, Russell J. Wood wrote:
Hello all,
Attached is a patch for dillo.c that merely ensures all command line arguments are parsed and complete before the GUI environment.
Previous to this, the locale and GUI functions where run and then the command line, of which, in my opinion, should be run after the CLI because the CLI has the immediate commands. There is no point firing up the GUI when all one would like to know is the version they are running, right?
Again, it's nothing major and doubtfully increases performance in any way.
The locale needs to be set before parsing the options because some of them can change its meanings (e.g. 1,2 != 1.2). gtk_init(&argc, &argv) needs to be called to get rid of gtk specific args (hopefully not much of an issue when working under FLTK though ;). -- Cheers Jorge.-
participants (2)
-
Jorge Arellano Cid
-
Russell J. Wood