Fix parsing errors. Patch from Paull Bolle. Fixes #144501.

2004-06-17  Glynn Foster  <glynn.foster@sun.com>

	* src/main.c: Fix parsing errors. Patch from
	Paull Bolle. Fixes #144501.
This commit is contained in:
Glynn Foster 2004-06-16 23:45:28 +00:00 committed by Glynn Foster
parent c30c2f365f
commit c7ec5229bb
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-06-17 Glynn Foster <glynn.foster@sun.com>
* src/main.c: Fix parsing errors. Patch from
Paull Bolle. Fixes #144501.
2004-06-08 Glynn Foster <glynn.foster@sun.com>
* THANKS, src/about.c: Add Paul.

View File

@ -1353,7 +1353,7 @@ zenity_parse_options_callback (poptContext ctx,
* parse_options_callback gets called for each option. Suckage
*/
if (parse_option_file > 2)
if (parse_option_editable > 2)
zenity_error ("--editable", ERROR_DUPLICATE);
switch (results->mode) {