Skip to content

Commit

Permalink
Fix bug in quantisation code
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent authored and Marco Hugentobler committed Oct 2, 2012
1 parent 024b661 commit 52d053d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mapserver/qgshttprequesthandler.cpp
Expand Up @@ -610,6 +610,7 @@ void QgsHttpRequestHandler::splitColorBox( QgsColorBox& colorBox, QgsColorBoxMap
if ( currentListIndex > ( colorBox.size() - 2 ) ) //if the median is contained in the last color, split one item before that
{
--currentListIndex;
currentSum -= colorBoxIt->second;
}
else
{
Expand Down

0 comments on commit 52d053d

Please sign in to comment.