gnucash stable: Bug 799501 - Gnucash grashes on startup ice-9/read.scm error
John Ralls
jralls at code.gnucash.org
Mon Mar 10 17:28:37 EDT 2025
Updated via https://github.com/Gnucash/gnucash/commit/2f0ed09b (commit)
from https://github.com/Gnucash/gnucash/commit/ad4c3f68 (commit)
commit 2f0ed09bf1684e479c4650b3d1f537fbed5cb6e5
Author: John Ralls <jralls at ceridwen.us>
Date: Mon Mar 10 14:24:33 2025 -0700
Bug 799501 - Gnucash grashes on startup ice-9/read.scm error
Correctly format ("'~s" instead of "'~a") the scheme string returned from
gnc_query2scm.
diff --git a/bindings/guile/gnc-optiondb.i b/bindings/guile/gnc-optiondb.i
index 5e8a3df693..e3ccd8a90a 100644
--- a/bindings/guile/gnc-optiondb.i
+++ b/bindings/guile/gnc-optiondb.i
@@ -1284,7 +1284,7 @@ inline SCM return_scm_value(ValueType value)
if constexpr (is_QofQueryValue_v<decltype(option)>)
{
QofQuery* value{const_cast<QofQuery*>(option.get_value())};
- return scm_simple_format(SCM_BOOL_F, ticked_format_str,
+ return scm_simple_format(SCM_BOOL_F, list_format_str,
scm_list_1(gnc_query2scm(value)));
}
if constexpr (is_same_decayed_v<decltype(option),
Summary of changes:
bindings/guile/gnc-optiondb.i | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the gnucash-changes
mailing list