From c7f67d38459b0951e7124238053e4724146e7e74 Mon Sep 17 00:00:00 2001 From: sabetts Date: Sun, 3 Feb 2002 06:18:14 +0000 Subject: (cmd_defbarpadding): print an error message if defbarpadding is called interactively without arguments. --- src/actions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/actions.c b/src/actions.c index bbb50b9..d2e45a5 100644 --- a/src/actions.c +++ b/src/actions.c @@ -2342,7 +2342,7 @@ cmd_defbarpadding (int interactive, void *data) { int x, y; - if (data == NULL) + if (data == NULL && !interactive) return xsprintf ("%d %d", defaults.bar_x_padding, defaults.bar_y_padding); if (data == NULL -- cgit v1.2.3