summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
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) {