From c7ec5229bbf0328687ae1deef58c9fae906b34f2 Mon Sep 17 00:00:00 2001 From: Glynn Foster Date: Wed, 16 Jun 2004 23:45:28 +0000 Subject: [PATCH] Fix parsing errors. Patch from Paull Bolle. Fixes #144501. 2004-06-17 Glynn Foster * src/main.c: Fix parsing errors. Patch from Paull Bolle. Fixes #144501. --- ChangeLog | 5 +++++ src/main.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index fd332d2..2312398 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-06-17 Glynn Foster + + * src/main.c: Fix parsing errors. Patch from + Paull Bolle. Fixes #144501. + 2004-06-08 Glynn Foster * THANKS, src/about.c: Add Paul. diff --git a/src/main.c b/src/main.c index 2baed7d..9e28a56 100644 --- a/src/main.c +++ b/src/main.c @@ -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) {