small typo

Discussion of Transmission that doesn't fit in the other categories
Post Reply
Posts: 1
Joined: Sun Jan 04, 2009 12:16 am

small typo

Post by vla »

in file gtk/torrent-cell-renderer.c in function torrent_cell_renderer_render()

my_bg.y = tmp_bg.y + tmp_bg.height;
my_cell.y = tmp_cell.y + tmp_cell.height;
470: my_expose.y += tmp_expose.y + tmp_cell.height;

it should be:
my_expose.y = tmp_expose.y + tmp_cell.height;

The code is part of drawing p->minimal. Fortunately it's not a bug.
Because my_expose is not used after that point ( only my_cell ).
I discovered it, when I added several texts to minimal rendering and nothing shown.
I originally thought, it's my fault, but ... :-)

Thanks for your great work. many many thanks
Post Reply