summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--src/main.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index fd332d2..2312398 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
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) {