summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlynn Foster <glynn.foster@sun.com>2004-06-16 23:45:28 +0000
committerGlynn Foster <gman@src.gnome.org>2004-06-16 23:45:28 +0000
commitc7ec5229bbf0328687ae1deef58c9fae906b34f2 (patch)
tree911bbc36e7389b8fab30e7c47e0840de949a244f
parentc30c2f365fc8567cf1614388510c9d0e6b0aa764 (diff)
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.
-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) {