Ethereal-dev: Re: [Ethereal-dev] Fixing the "no coloring after unmarking" bug

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Thu, 8 Jan 2004 16:00:30 -0800

On Jan 8, 2004, at 3:47 PM, Olivier Biot wrote:

I'm trying to fix the very old and well-known "no coloring after unmarking"
bug. A quick look at main.c yields the starting point: set_frame_mark()
which uses NULL color_t structs when we unmark a frame. Is it acceptable to store the color filter colors in the frame_data structure when we apply the
color filters?

I guess, although it does increase the memory requirements per frame.

I'd store just a pointer to the color filter that applied to the frame; that'd save some memory.