mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Make sure not to pass NULL to PERR() message macro
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14795 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
2851954e3a
commit
8a25065a54
@ -123,7 +123,7 @@ gnc_configure_reverse_balance (void)
|
||||
else
|
||||
{
|
||||
if (safe_strcmp (choice, "credit") != 0)
|
||||
PERR("bad value '%s'", choice);
|
||||
PERR("bad value '%s'", choice ? choice : "(null)");
|
||||
reverse_type[ACCT_TYPE_LIABILITY] = TRUE;
|
||||
reverse_type[ACCT_TYPE_PAYABLE] = TRUE;
|
||||
reverse_type[ACCT_TYPE_EQUITY] = TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user