[grisbi-cvs] [SCM] grisbi branch, grisbi-0.8.x, updated. upstream_version_0_8_7-2-gd745d09

Pierre Biava nobody at users.sourceforge.net
Sat Jul 2 20:46:57 CEST 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grisbi".

The branch, grisbi-0.8.x has been updated
       via  d745d090c09b9637d89439e15a312f65aef1f107 (commit)
      from  6ded6ba7218f963c20d80cdfae85aa3ca06d7560 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d745d090c09b9637d89439e15a312f65aef1f107
Author: pbiava <pierre.biava at nerim.net>
Date:   Sat Jul 2 20:45:55 2011 +0200

    Fixes a crash when the number of recently used files = 0.

-----------------------------------------------------------------------

Changes:
diff --git a/src/gsb_file.c b/src/gsb_file.c
index c05afc8..358e2fc 100644
--- a/src/gsb_file.c
+++ b/src/gsb_file.c
@@ -1009,6 +1009,9 @@ void gsb_file_append_name_to_opened_list ( gchar * path_fichier )
     if ( !path_fichier )
         return;
 
+    if ( nb_max_derniers_fichiers_ouverts == 0 )
+        return;
+
     if ( nb_derniers_fichiers_ouverts < 0 )
         nb_derniers_fichiers_ouverts = 0;
 


hooks/post-receive
-- 
grisbi


More information about the cvs mailing list