summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2013-04-01 16:32:45 -0700
committerCraig Earls <enderw88@gmail.com>2013-04-01 16:32:45 -0700
commit024697c4fcd552b6dd806c5be1a916f95393b5be (patch)
tree3ab678e8f43145c3237be8eaeb454bd0a600bea3 /lisp
parent4adcad6b2ccae539e2dd237bb78432e0f2fabcac (diff)
downloadfork-ledger-024697c4fcd552b6dd806c5be1a916f95393b5be.tar.gz
fork-ledger-024697c4fcd552b6dd806c5be1a916f95393b5be.tar.bz2
fork-ledger-024697c4fcd552b6dd806c5be1a916f95393b5be.zip
Fix Bug 941, ensure two spaces are left between account and amount
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ldg-post.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/ldg-post.el b/lisp/ldg-post.el
index 91ee623d..554b8578 100644
--- a/lisp/ldg-post.el
+++ b/lisp/ldg-post.el
@@ -187,7 +187,8 @@ region align the posting on the current line."
(when (setq amt-offset (ledger-next-amount (line-end-position)))
(let* ((amt-adjust (- ledger-post-amount-alignment-column
amt-offset
- (current-column))))
+ (current-column)
+ 2)))
(if (/= amt-adjust 0)
(if (> amt-adjust 0)
(insert (make-string amt-adjust ? ))