]> err.no Git - libchamplain/commit
Fix array usage in ChamplainZoomLevel
authorPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Sat, 13 Jun 2009 22:18:39 +0000 (18:18 -0400)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Sat, 13 Jun 2009 22:18:39 +0000 (18:18 -0400)
commit576e4e7d94f21a9f3ed2d84d08552987269e0f53
treecbd0fd9c22f412824ef49e11efc0732e503feda1
parent766cfbc9b6c4e5ceb03359ba7ef76762f1b58380
Fix array usage in ChamplainZoomLevel

Based on how the array was iterated, it wasn't rare that the requested
index would be well over the array's end.
champlain/champlain-view.c
champlain/champlain-zoom-level.c