Skip to content
Permalink
Browse files

Fix bug in quantisation code

  • Loading branch information
mhugent authored and Marco Hugentobler committed Oct 2, 2012
1 parent 024b661 commit 52d053d6e3511d3afbfc53e14f059c61361c9d0c
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/mapserver/qgshttprequesthandler.cpp
@@ -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
{

0 comments on commit 52d053d

Please sign in to comment.
You can’t perform that action at this time.