diff options
author | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-08-04 08:54:13 +0000 |
---|---|---|
committer | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-08-04 08:54:13 +0000 |
commit | f166610732ae2ce5f6c1bb390b6d36f3d199ed6d (patch) | |
tree | 418281712d3c65822d26318d2ed6dcfe718e13b7 /gtk | |
parent | 4404ac5524736512aa0fb83e2cee2eaea0436002 (diff) |
Corrected position of FBAR and DOT.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38330 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/io_stat.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/io_stat.c b/gtk/io_stat.c index 277e304bce..2e49c004e6 100644 --- a/gtk/io_stat.c +++ b/gtk/io_stat.c @@ -1111,8 +1111,8 @@ io_stat_draw(io_stat_t *io) if(val){ cr = gdk_cairo_create (io->pixmap); cairo_rectangle (cr, - x_pos-io->pixels_per_tick/2, - y_pos, + x_pos-(gdouble)io->pixels_per_tick/2+0.5, + y_pos+0.5, io->pixels_per_tick, draw_height-1+top_y_border-y_pos); gdk_cairo_set_source_color (cr, &io->graphs[i].color); @@ -1124,8 +1124,8 @@ io_stat_draw(io_stat_t *io) if(val){ cr = gdk_cairo_create (io->pixmap); cairo_arc (cr, - x_pos-io->pixels_per_tick/2+io->pixels_per_tick/2, - y_pos-io->pixels_per_tick/2+io->pixels_per_tick/2, + x_pos+0.5, + y_pos+0.5, (gdouble)io->pixels_per_tick/2, 0, 2 * M_PI); |