Bug 799501 - Gnucash grashes on startup ice-9/read.scm error

Correctly format ("'~s" instead of "'~a") the scheme string returned from
gnc_query2scm.
This commit is contained in:
John Ralls committed 2025-03-10 14:24:33 -07:00
1 parent ad4c3f681d
commit 2f0ed09bf1
1 file changed
+1 -1
+1 -1
View File
@@ -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),