mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-11-02 20:30:45 -06:00
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:
1 parent
ad4c3f681d
commit
2f0ed09bf1
1 file changed
+1
-1
@@ -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),
|
||||
|
||||
Reference in new issue
Block a user