xwayland: Use the right length for iterating through the formats array
authorKristian Høgsberg <krh@bitplanet.net>
Mon, 16 Jul 2012 15:52:40 +0000 (11:52 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 16 Jul 2012 17:35:26 +0000 (13:35 -0400)
commite6d8d2f62aa560035bfe86f35f79c2dbeb35f208
treeddb7aee7f7f371d1cb2acc459dccbd9435dc1c61
parent07a91cd9fd1001623369704e186ce286bd6690be
xwayland: Use the right length for iterating through the formats array

Spotted by Tiago Vignatti, minimal fix to just use the right length.
src/xwayland/window-manager.c