1
1

* view.c (enqueue_change): Made the algorithm independent of the

memory layout (especially the order) of the fields in struct
	hexedit_change_node.
Этот коммит содержится в:
Roland Illig 2005-04-16 21:45:36 +00:00
родитель 2d8721c745
Коммит 0453262b4b
2 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -21,6 +21,9 @@
* view.c (display): Removed the call to the empty macros * view.c (display): Removed the call to the empty macros
view_freeze() and view_thaw(). Deleted these macros, as they view_freeze() and view_thaw(). Deleted these macros, as they
are otherwise unused. are otherwise unused.
* view.c (enqueue_change): Made the algorithm independent of the
memory layout (especially the order) of the fields in struct
hexedit_change_node.
2005-04-14 Roland Illig <roland.illig@gmx.de> 2005-04-14 Roland Illig <roland.illig@gmx.de>

Просмотреть файл

@ -375,7 +375,7 @@ enqueue_change (struct hexedit_change_node **head,
node->next = curr; node->next = curr;
return; return;
} }
head = (struct hexedit_change_node **) curr; head = &(curr->next);
curr = curr->next; curr = curr->next;
} }
*head = node; *head = node;