From d82c95c87a005b5e46b45f53e8f78dce962ac5d9 Mon Sep 17 00:00:00 2001 From: Olivier Biot Date: Fri, 9 Jan 2004 20:20:42 +0000 Subject: Part 2 of the "unmarking a packet matching a color filter does not apply the color filter's colors" bug: keep a list of removed color filters, so there's no problem if we delete a color filter for which there are one or more packets that have its colors. Only get rid of the lists when they ar no longer needed. svn path=/trunk/; revision=9613 --- color.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'color.h') diff --git a/color.h b/color.h index cc71915cd0..4c99dde9d8 100644 --- a/color.h +++ b/color.h @@ -1,7 +1,7 @@ /* color.h * Definitions for "toolkit-independent" colors * - * $Id: color.h,v 1.4 2003/08/18 21:27:07 sahlberg Exp $ + * $Id: color.h,v 1.5 2004/01/09 20:19:34 obiot Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -58,6 +58,7 @@ typedef struct _color_filter { /* List of all color filters. */ extern GSList *filter_list; +extern GSList *removed_filter_list; void filter_list_prime_edt(epan_dissect_t *edt); -- cgit v1.2.1