summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntti Nykänen <aon@iki.fi>2008-10-22 18:42:24 +0300
committerShawn <sabetts@juicebox.(none)>2008-10-22 14:15:40 -0700
commit22cea909c3d1b695424ef85153917b00bfb1261c (patch)
tree62bc7e7250e16e50f029648604711d7f51d688fb
parent96f9429650200ee4b9897a778a28954de772d151 (diff)
downloadratpoison-22cea909c3d1b695424ef85153917b00bfb1261c.zip
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.
-rw-r--r--src/actions.c2
1 files changed, 1 insertions, 1 deletions
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)