diff options
author | Laurent Ghigonis <laurent@p1sec.com> | 2012-12-12 04:00:25 +0100 |
---|---|---|
committer | Laurent Ghigonis <laurent@p1sec.com> | 2012-12-12 04:00:25 +0100 |
commit | e392f0b07aacbb1cc5420cd2f24c0c915bd0b5d2 (patch) | |
tree | b4755f9a31e40ec38a4da44e3ab5c33e1dc9747d /gg_map/gg_map.c | |
parent | better egraph blob size (diff) | |
download | glouglou-e392f0b07aacbb1cc5420cd2f24c0c915bd0b5d2.tar.xz glouglou-e392f0b07aacbb1cc5420cd2f24c0c915bd0b5d2.zip |
do not use id=1 for coloration of egraph blobs
Diffstat (limited to 'gg_map/gg_map.c')
-rw-r--r-- | gg_map/gg_map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gg_map/gg_map.c b/gg_map/gg_map.c index 516546e..6da39de 100644 --- a/gg_map/gg_map.c +++ b/gg_map/gg_map.c @@ -114,7 +114,7 @@ _conn_data(int id, u_int8_t pktsize) { tmp = a; a = b; b = tmp; } size = sqrt(size) / 2; - color = (id * 0x98765400) % 0xFFFFFF00; + color = ((id+1) * 0x98765400) % 0xFFFFFF00; egraph_vertice_send_blob(_egraph, a, b, size, color); } |