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: Guy Harris <guy@xxxxxxxxxxxx>
Date: Thu, 27 Apr 2000 15:39:27 -0500 (CDT)
guy         2000/04/27 15:39:24 CDT

  Modified files:
    gtk                  proto_draw.c 
  Log:
  Use "isprint()", rather than "isgraph()" followed by a check for space,
  as "isprint()" is defined to be "isgraph() or space" (or, historically
  speaking, "isgraph()", which came later, is defined to be "isprint()
  except for space).
  
  Make the characters in "packet_hex_print()" be "guchar" rather than
  "gchar", so that they don't get sign-extended if the 8th bit is set, and
  thus don't cause "isprint()" and company to give random answers.
  
  Revision  Changes    Path
  1.17      +3 -3      ethereal/gtk/proto_draw.c