[grisbi-cvs] grisbi/src gsb_transactions_list.c,1.150,1.151
Benjamin Drieu
benj2 at users.sourceforge.net
Thu Feb 12 21:46:54 CET 2009
Update of /cvsroot/grisbi/grisbi/src
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv2902
Modified Files:
gsb_transactions_list.c
Log Message:
Use a newly allocated string to avoid a crash upon exiting on a free() + fix wording
Index: gsb_transactions_list.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_transactions_list.c,v
retrieving revision 1.150
retrieving revision 1.151
diff -u -d -r1.150 -r1.151
--- gsb_transactions_list.c 10 Feb 2009 21:06:32 -0000 1.150
+++ gsb_transactions_list.c 12 Feb 2009 20:46:52 -0000 1.151
@@ -1,7 +1,7 @@
/* ************************************************************************** */
/* */
/* copyright (c) 2000-2008 Cédric Auger (cedric at grisbi.org) */
-/* 2004-2008 Benjamin Drieu (bdrieu at april.org) */
+/* 2004-2009 Benjamin Drieu (bdrieu at april.org) */
/* http://www.grisbi.org */
/* */
/* This program is free software; you can redistribute it and/or modify */
@@ -1535,7 +1535,7 @@
{
if (question_yes_no_hint ( _("Confirmation of manual (un)reconciliation"),
_("You are trying to reconcile or unreconcile a transaction manually, "
- "which is not a recommended action. Are you really sure you know what you're doing?"
+ "which is not a recommended action. Are you really sure you know what you are doing?"
"manually a transaction which isn't a regular way to do.\n\n"
"And moreover the transaction you try to reconcile is a child of split, so "
"the modification will be done on the mother and all its children.\n\n"
@@ -1550,7 +1550,7 @@
/* it's a normal transaction, ask to be sure */
if ( !question_yes_no_hint ( _("Confirmation of manual (un)reconciliation"),
_("You are trying to reconcile or unreconcile a transaction manually, "
- "which is not a recommended action. Are you really sure you know what you're doing?"),
+ "which is not a recommended action. Are you really sure you know what you are doing?"),
GTK_RESPONSE_NO ))
return FALSE;
@@ -1597,7 +1597,7 @@
/* set the R on the transaction */
transaction_list_set ( &iter,
- r_column, _("R"),
+ r_column, g_strdup ( _("R") ),
-1 );
/* if we don't want to see the marked R transactions, we re-filter the model */
More information about the cvs
mailing list