1
0
mirror of git://projects.qi-hardware.com/fped.git synced 2025-04-21 12:27:27 +03:00

When moving a vector, the list order could get confused, resulting in a

segfault, failure to update the screen content, and assigning of invalid 
references.

- gui_tools.c: removed duplicate (harmless) line 
- inst.c: when moving a vector to a new base, we may have to reorder the list
  so that the assertion vectors always follow their bases is still maintained.



git-svn-id: http://svn.openmoko.org/trunk/eda/fped@5713 99fdad57-331a-0410-800a-d7fa5415bdb3
This commit is contained in:
werner
2009-11-27 16:23:35 +00:00
parent b6e5c6d20a
commit 2dffbfeaa9
3 changed files with 56 additions and 1 deletions

3
obj.h
View File

@@ -105,6 +105,9 @@ struct vec {
/* index into table of samples */
int n;
/* for re-ordering after a move */
int mark;
/* for the GUI */
GtkWidget *list_widget; /* NULL if items aren't shown */
};