From 22cea909c3d1b695424ef85153917b00bfb1261c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antti=20Nyk=C3=A4nen?= Date: Wed, 22 Oct 2008 18:42:24 +0300 Subject: return the correct value when set_barinpadding is called without arguments Currently, when you execute C-t : set barinpadding, you actually get the bar's border width. This patch fixes that. --- src/actions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/actions.c b/src/actions.c index c977075..678ec70 100644 --- a/src/actions.c +++ b/src/actions.c @@ -3721,7 +3721,7 @@ set_barinpadding (struct cmdarg **args) int new_value; if (args[0] == NULL) - return cmdret_new (RET_SUCCESS, "%d", defaults.bar_border_width); + return cmdret_new (RET_SUCCESS, "%d", defaults.bar_in_padding); new_value = ARG(0,number); if (new_value < 0) -- cgit v1.2.3