Fix Bug 941, ensure two spaces are left between account and amount

This commit is contained in:
Craig Earls 2013-04-01 16:32:45 -07:00
parent 4adcad6b2c
commit 024697c4fc

View file

@ -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 ? ))