fix_pretty_breaks.diff

Alister Hood, 2012-05-29 08:48 PM

Download (506 Bytes)

View differences:

/media/sdb1/abs/local/yaourtbuild/qgis-git/src/qgis-build/src/core/symbology-ng/qgsgraduatedsymbolrendererv2.cpp
548 548
  }
549 549
  double minimumBreak = start * unit;
550 550
  double maximumBreak = end * unit;
551
  int count = ceil( maximumBreak - minimumBreak ) / unit;
551
  int count = floor( 0.5 + ( maximumBreak - minimumBreak ) / unit );
552 552

  
553 553
  for ( int i = 1; i < count + 1; i++ )
554 554
  {