Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/gtk proto_draw.c

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

From: Gilbert Ramirez Jr. <gram@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 7 Mar 2001 13:33:25 -0600 (CST)
gram        2001/03/07 13:33:25 CST

  Modified files:
    gtk                  proto_draw.c 
  Log:
  In the code that handles finding a field after a user clicks on
  a byte in the hex dump,
  
  1. Fix an off-by-one error when finding the field. This only showed up
  if the selected byte had no field of its own and was only designated
  as part of the parent protocol (like the 00-padding at the beginning of
  TCP options).
  
  2. Fix an off-by-one error when clicking on a character in the second
  half of the "text dump" portion of the hex dump. I forgot about the
  extra space between the first 8 characters and the second 8 characters.
  
  Revision  Changes    Path
  1.28      +15 -7     ethereal/gtk/proto_draw.c