Skip to content

Commit

Permalink
Use variable name from current loop rather than previous loop. Correc…
Browse files Browse the repository at this point in the history
…tion to r6502.

git-svn-id: http://svn.osgeo.org/qgis/branches/Release-0_8_0@6551 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
telwertowski committed Feb 8, 2007
1 parent ef2b1d3 commit e36e6cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsvectorlayer.cpp
Expand Up @@ -376,7 +376,7 @@ theMapToPixelTransform, fet, sel, 0, scale);
for(std::vector<QgsFeature*>::iterator it=mAddedFeatures.begin();it!=mAddedFeatures.end();++it)
{
bool sel=mSelectedFeatureIds.find((*it)->featureId()) != mSelectedFeatureIds.end();
if (m_renderer && m_renderer->willRenderFeature(fet))
if (m_renderer && m_renderer->willRenderFeature(*it))
{
mLabel->renderLabel ( p, viewExtent, *mCoordinateTransform, projectionsEnabledFlag,
theMapToPixelTransform, *it, sel, 0, scale);
Expand Down

0 comments on commit e36e6cd

Please sign in to comment.