summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--src/actions.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 416d25f..bf5e85d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-10-28 Shawn Betts <katia_dilkina@verizon.net>
+
+ * src/actions.c (set_padding): fix the padding order in xsprintf.
+
2002-02-05 Shawn Betts <sabetts@vcn.bc.ca>
* src/actions.c (cmd_set): check if var is NULL before checking strlen(var)
diff --git a/src/actions.c b/src/actions.c
index e7c283d..b5cec27 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -2389,8 +2389,8 @@ set_padding (char *data)
if (data == NULL)
return xsprintf ("%d %d %d %d",
defaults.padding_left,
- defaults.padding_right,
defaults.padding_top,
+ defaults.padding_right,
defaults.padding_bottom);
if (sscanf (data, "%d %d %d %d", &l, &t, &r, &b) < 4)