diff options
Diffstat (limited to 'src/option.c')
-rw-r--r-- | src/option.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/option.c b/src/option.c index 65b5373c..cfc95e95 100644 --- a/src/option.c +++ b/src/option.c @@ -676,7 +676,8 @@ zenity_option_get_name (GOptionEntry *entries, gpointer arg_data) for (i = 1; entries[i].long_name != NULL; i++) { if (entries[i].arg_data == arg_data) return (gchar *) entries[i].long_name; - } + } + return NULL; } /* Error callback */ |