[libchamplain: 36/45] Remove unnecessary checks in load_visible_tiles.
- From: Jiří Techet <jiritechet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libchamplain: 36/45] Remove unnecessary checks in load_visible_tiles.
- Date: Sun, 14 Aug 2016 12:31:20 +0000 (UTC)
commit 3d900b91eae2f16ecdf3e741a9964aa4373b3453
Author: Marius Stanciu <stanciumarius94 gmail com>
Date: Sun Aug 7 20:35:02 2016 +0300
Remove unnecessary checks in load_visible_tiles.
champlain/champlain-view.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/champlain/champlain-view.c b/champlain/champlain-view.c
index 9ce7c4a..d30369c 100644
--- a/champlain/champlain-view.c
+++ b/champlain/champlain-view.c
@@ -2810,9 +2810,7 @@ load_visible_tiles (ChamplainView *view,
tile_x = x_to_wrap_x (tile_x, column_count);
if (!tile_in_tile_table (view, priv->tile_map, tile_x, y) &&
- tile_in_tile_table (view, priv->visible_tiles, tile_x, y) &&
- y >= priv->tile_y_first &&
- y < priv->tile_y_last)
+ tile_in_tile_table (view, priv->visible_tiles, tile_x, y))
{
FillTileCallbackData *data;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]