summaryrefslogtreecommitdiff
path: root/src/actions.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2002-02-03 06:18:14 +0000
committersabetts <sabetts>2002-02-03 06:18:14 +0000
commitc7f67d38459b0951e7124238053e4724146e7e74 (patch)
tree7ceba5af9a933e0488cf4b46ef1a26da0af3ebb2 /src/actions.c
parentce521bc96af08394599348b568c3dea623fd0400 (diff)
downloadratpoison-c7f67d38459b0951e7124238053e4724146e7e74.zip
(cmd_defbarpadding): print an error message if
defbarpadding is called interactively without arguments.
Diffstat (limited to 'src/actions.c')
-rw-r--r--src/actions.c2
1 files changed, 1 insertions, 1 deletions
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