Wireshark-commits: [Wireshark-commits] rev 42030: /trunk/ui/gtk/ /trunk/ui/gtk/: main_proto_draw.c
Date: Thu, 12 Apr 2012 02:14:20 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=42030

User: martinm
Date: 2012/04/11 07:14 PM

Log:
 The last bit of a byte, on its own, needs a mask of 1, rather than 256.
 It was not being highlighted in the bits view.
 
 So add % 8 to avoid shifting the single mask bit right out of the byte
 we're supposed to be showing...

Directory: /trunk/ui/gtk/
  Changes    Path                 Action
  +1 -1      main_proto_draw.c    Modified