Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
1 files changed, 1 insertions, 1 deletions
-rw-r--r--badwolf.c2
diff --git a/badwolf.c b/badwolf.c
index 8aad8b6..51989e1 100644
--- a/badwolf.c
+++ b/badwolf.c
@@ -1152,7 +1152,7 @@ static GtkStatusIcon *create_tray_icon(const struct Window *window) {
int
main(int argc, char *argv[])
{
- if (argc > 0 && argv[1][0] == '-' && argv[1][1] == 'h') {
+ if (argc > 1 && argv[1][0] == '-' && argv[1][1] == 'h') {
printf("\
badwolf [OPTIONS] [URLs]\n\n\
Options:\n\