diff options
author | Moritz Ulrich <moritz@tarn-vedra.de> | 2013-12-28 22:42:38 +0100 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2013-12-28 18:11:25 -0600 |
commit | c0812b91bf7e0f2b913dd679cf5c55524fd8bbd5 (patch) | |
tree | b202888fb4d86b8144038fa619f3c0aad313c8bf /python | |
parent | 8d38060968b897cb6a365b7c0606770f450e1f18 (diff) | |
download | fork-ledger-c0812b91bf7e0f2b913dd679cf5c55524fd8bbd5.tar.gz fork-ledger-c0812b91bf7e0f2b913dd679cf5c55524fd8bbd5.tar.bz2 fork-ledger-c0812b91bf7e0f2b913dd679cf5c55524fd8bbd5.zip |
Fix `ledger-string-to-number' for decimal-comma
--=-=-=
Content-Type: text/plain
Hi John,
Small bug, caused by ill-formatted elisp. This is a small patch, so i
think making a fork & opening a Pull Request is a bit too much. I'll go
this route if I make bigger contributions in the future.
From de1fb19ded5300a227d58e3d3094928b211db09b Mon Sep 17 00:00:00 2001
From: Moritz Ulrich <moritz@tarn-vedra.de>
Date: Sat, 28 Dec 2013 22:37:54 +0100
Subject: [PATCH] ledger-string-to-number: Fix nil return value with
decimal-comma.
Unfavorable formatting hid this bug pretty well. In case of true-ish
`decimal-comma' or "decimal-comma' in `ledger-environment-alist', the
ill-formatted `if' (and the whole function) returns nil.
Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions