Fix off-by-one error in clutter_stage_read_pixels
authorNeil Roberts <neil@linux.intel.com>
Tue, 6 Jan 2009 11:39:14 +0000 (11:39 +0000)
committerNeil Roberts <neil@linux.intel.com>
Tue, 6 Jan 2009 12:27:13 +0000 (12:27 +0000)
commite4272fba69f9c174388eb8a1ffabd3211393461e
tree7b188fc21f376c795d6d12fc7106db8eee00631a
parent8e6423a1b6e08e140a888df5398206640deea59e
Fix off-by-one error in clutter_stage_read_pixels

It was always reading one pixel lower than requested. If y was 0 then
it would try to read below the lowest line.

Thanks to Geoff Gustafson for spotting.
clutter/clutter-stage.c