Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix multiple spaces in helpstring and exception
  • Loading branch information
root676 authored and nyalldawson committed Nov 26, 2019
1 parent 590c57c commit 03f0dd6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/analysis/processing/qgsalgorithmrandompointsextent.cpp
Expand Up @@ -63,9 +63,9 @@ QString QgsRandomPointsExtentAlgorithm::shortHelpString() const
"number of random points, all of them within a given extent. "
"A distance factor can be specified, to avoid points being "
"too close to each other. If the minimum distance between points "
" makes it impossible to create new points, either "
" distance can be decreased or the maximum number of attempts may be "
" increased."
"makes it impossible to create new points, either "
"distance can be decreased or the maximum number of attempts may be "
"increased."
);
}

Expand Down Expand Up @@ -157,7 +157,7 @@ QVariantMap QgsRandomPointsExtentAlgorithm::processAlgorithm( const QVariantMap
if ( distCheckIterations == mMaxAttempts )
{
throw QgsProcessingException( QObject::tr( "%1 of %2 points have been successfully created, but no more random points could be found "
" due to the given minimum distance between points. Either choose a larger extent, "
"due to the given minimum distance between points. Either choose a larger extent, "
"lower the minimum distance between points or try increasing the number "
"of attempts for searching new points." ).arg( i ).arg( mNumPoints ) );
}
Expand Down

0 comments on commit 03f0dd6

Please sign in to comment.