r17735 - gnucash/branches/2.2/src/register/ledger-core - [r17677] Fix uninitalized variable that was introduced by an extra scope added in (trunk) r17654.

Christian Stimming cstim at cvs.gnucash.org
Thu Nov 27 06:17:58 EST 2008


Author: cstim
Date: 2008-11-27 06:17:57 -0500 (Thu, 27 Nov 2008)
New Revision: 17735
Trac: http://svn.gnucash.org/trac/changeset/17735

Modified:
   gnucash/branches/2.2/src/register/ledger-core/split-register-control.c
Log:
[r17677] Fix uninitalized variable that was introduced by an extra scope added in (trunk) r17654.

Modified: gnucash/branches/2.2/src/register/ledger-core/split-register-control.c
===================================================================
--- gnucash/branches/2.2/src/register/ledger-core/split-register-control.c	2008-11-27 11:17:47 UTC (rev 17734)
+++ gnucash/branches/2.2/src/register/ledger-core/split-register-control.c	2008-11-27 11:17:57 UTC (rev 17735)
@@ -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