summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c
index 9b112c62..2baed7dc 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1405,18 +1405,18 @@ zenity_parse_options_callback (poptContext ctx,
break;
case OPTION_CHECKLIST:
if (results->mode != MODE_LIST)
- zenity_error ("--checkbox", ERROR_SUPPORT);
+ zenity_error ("--checklist", ERROR_SUPPORT);
if (results->tree_data->checkbox)
- zenity_error ("--checkbox", ERROR_DUPLICATE);
+ zenity_error ("--checklist", ERROR_DUPLICATE);
results->tree_data->checkbox = TRUE;
break;
case OPTION_RADIOLIST:
if (results->mode != MODE_LIST)
- zenity_error ("--radiobox", ERROR_SUPPORT);
+ zenity_error ("--radiolist", ERROR_SUPPORT);
if (results->tree_data->radiobox)
- zenity_error ("--radiobox", ERROR_DUPLICATE);
+ zenity_error ("--radiolist", ERROR_DUPLICATE);
results->tree_data->radiobox = TRUE;
break;
bgstack15