r17677 - gnucash/trunk/src/register/ledger-core - Fix uninitalized variable that was introduced by an extra scope added in r17654.
Christian Stimming
cstim at cvs.gnucash.org
Fri Oct 31 06:28:41 EDT 2008
Author: cstim
Date: 2008-10-31 06:28:40 -0400 (Fri, 31 Oct 2008)
New Revision: 17677
Trac: http://svn.gnucash.org/trac/changeset/17677
Modified:
gnucash/trunk/src/register/ledger-core/split-register-control.c
Log:
Fix uninitalized variable that was introduced by an extra scope added in r17654.
Modified: gnucash/trunk/src/register/ledger-core/split-register-control.c
===================================================================
--- gnucash/trunk/src/register/ledger-core/split-register-control.c 2008-10-30 09:22:25 UTC (rev 17676)
+++ gnucash/trunk/src/register/ledger-core/split-register-control.c 2008-10-31 10:28:40 UTC (rev 17677)
@@ -1280,10 +1280,10 @@
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);
More information about the gnucash-changes
mailing list