Skip to content

Commit 52d053d

Browse files
mhugentMarco Hugentobler
authored and
Marco Hugentobler
committedOct 2, 2012
Fix bug in quantisation code
1 parent 024b661 commit 52d053d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/mapserver/qgshttprequesthandler.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,7 @@ void QgsHttpRequestHandler::splitColorBox( QgsColorBox& colorBox, QgsColorBoxMap
610610
if ( currentListIndex > ( colorBox.size() - 2 ) ) //if the median is contained in the last color, split one item before that
611611
{
612612
--currentListIndex;
613+
currentSum -= colorBoxIt->second;
613614
}
614615
else
615616
{

0 commit comments

Comments
 (0)
Please sign in to comment.