mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix uninitalized variable that was introduced by an extra scope added in r17654.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17677 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
eda7dccb73
commit
a9a95bb9d4
@ -1280,10 +1280,10 @@ gnc_split_register_handle_exchange (SplitRegister *reg, gboolean force_dialog)
|
||||
if (!expanded && osplit &&
|
||||
gnc_split_register_split_needs_amount (reg, split) &&
|
||||
gnc_split_register_split_needs_amount (reg, osplit)) {
|
||||
message = _("You need to expand the transaction in order to modify its "
|
||||
"exchange rates.");
|
||||
if (force_dialog)
|
||||
{
|
||||
message = _("You need to expand the transaction in order to modify its "
|
||||
"exchange rates.");
|
||||
gnc_error_dialog (gnc_split_register_get_parent (reg), "%s", message);
|
||||
}
|
||||
LEAVE("%s", message);
|
||||
|
Loading…
Reference in New Issue
Block a user