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

Correctly format ("'~s" instead of "'~a") the scheme string returned from
gnc_query2scm.
pull/2068/head
John Ralls 1 year ago
parent ad4c3f681d
commit 2f0ed09bf1

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

Loading…
Cancel
Save