[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-ferret] Incorrect insertion of datamodel to the list
From: |
Pedro J. Ruiz Lopez |
Subject: |
[Bug-ferret] Incorrect insertion of datamodel to the list |
Date: |
Wed, 1 Nov 2006 13:09:36 +0100 |
I think I have found a little issue on ferret_project_create_datamodel when
adding a new datamodel to a non empty list on position equal to the lenght
of the list.
Here is the patch.
===File ~/CVS/parchecito.patch==============================
--- ferret/src/ferret_project.c 2006-08-24 23:36:54.000000000 +0200
+++ ferret_testing/src/ferret_project.c 2006-11-01 12:39:44.000000000 +0100
@@ -375,7 +375,7 @@
}
else
{
- if (index >= ferret_project_datamodel_get_count (project))
+ if (index > ferret_project_datamodel_get_count (project))
{
// Append the datamodel
traveller = project->datamodels;
============================================================
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-ferret] Incorrect insertion of datamodel to the list,
Pedro J. Ruiz Lopez <=