[grisbi-cvs] grisbi/src gsb_file.c,1.57,1.58
Mickaël Remars
mykeul at users.sourceforge.net
Mon Aug 24 21:54:30 CEST 2009
Update of /cvsroot/grisbi/grisbi/src
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv30333
Modified Files:
gsb_file.c
Log Message:
msvc needs all variable declarations at the begining of the blocs (C99)
Index: gsb_file.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_file.c,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -d -r1.57 -r1.58
--- gsb_file.c 8 Jul 2009 22:18:21 -0000 1.57
+++ gsb_file.c 24 Aug 2009 19:54:28 -0000 1.58
@@ -769,6 +769,8 @@
GtkWidget *dialog;
gint difference = (gint) difftime ( now, etat.modification_fichier );
gchar* message;
+ gchar* tmpstr1;
+ gchar* tmpstr2;
/* si le fichier n'est pas modifié on renvoie qu'on ne veut pas enregistrer */
@@ -829,8 +831,8 @@
{
time_elapsed = g_strdup_printf ( _( "%d seconds" ), difference );
}
- gchar* tmpstr1 = message;
- gchar* tmpstr2 = g_strdup_printf ( _("If you close without saving, all of your changes "
+ tmpstr1 = message;
+ tmpstr2 = g_strdup_printf ( _("If you close without saving, all of your changes "
"since %s will be discarded."),
time_elapsed );
message = g_strconcat ( tmpstr1, tmpstr2 , NULL );
@@ -1142,6 +1144,7 @@
GtkWidget *image;
GtkWidget *label;
gint resultat;
+ gchar *tmpstr;
dialog = gtk_dialog_new_with_buttons (
_("Delete a copy of file of the old version of grisbi"),
@@ -1163,7 +1166,7 @@
GTK_ICON_SIZE_DIALOG );
gtk_box_pack_start ( GTK_BOX ( hbox ), image, FALSE, FALSE, 5 );
- gchar *tmpstr = g_strdup_printf (
+ tmpstr = g_strdup_printf (
_("Careful, you are about to deleting the copy of file\n"
"of the old version of grisbi.\n"
"\n<b>Do you want to delete this file :\n%s ?</b>"),
More information about the cvs
mailing list