From 2f0ed09bf1684e479c4650b3d1f537fbed5cb6e5 Mon Sep 17 00:00:00 2001 From: John Ralls Date: Mon, 10 Mar 2025 14:24:33 -0700 Subject: [PATCH] Bug 799501 - Gnucash grashes on startup ice-9/read.scm error Correctly format ("'~s" instead of "'~a") the scheme string returned from gnc_query2scm. --- bindings/guile/gnc-optiondb.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { QofQuery* value{const_cast(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