ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RP] [PATCH] return the correct value when set_barinpadding is called wi


From: Antti Nykänen
Subject: [RP] [PATCH] return the correct value when set_barinpadding is called without arguments
Date: Wed, 22 Oct 2008 18:42:24 +0300
User-agent: Mutt/1.5.17 (2007-11-01)

Hi,

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 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)
-- 
1.6.0.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]