Check validity of the top left tile to be loaded
authorJiří Techet <techet@gmail.com>
Sun, 16 May 2010 12:57:08 +0000 (14:57 +0200)
committerJiří Techet <techet@gmail.com>
Sun, 16 May 2010 12:57:08 +0000 (14:57 +0200)
commit9348681ee0e9fde605c5044ee7ef223de5b0e904
tree7c7685838bb26f649008b2cf878ddbea584ad6af
parent8eef345db2e8c1f38c88d792413b4eb362a4174a
Check validity of the top left tile to be loaded

If it is outside the range, set it to the closest valid value. Prevents
crash when map panned left on low zoom level.

Signed-off-by: Jiří Techet <techet@gmail.com>
champlain/champlain-view.c