Skip to content

Commit

Permalink
Update qgsalgorithmexportmesh.cpp
Browse files Browse the repository at this point in the history
Line 999 : "and inerval values" should probably be "and interval values".
                 Added letter t to inerval to become interval
  • Loading branch information
DiGro committed Nov 19, 2020
1 parent 83aa68f commit 518f547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/analysis/processing/qgsalgorithmexportmesh.cpp
Expand Up @@ -996,7 +996,7 @@ bool QgsMeshContoursAlgorithm::prepareAlgorithm( const QVariantMap &parameters,
throw QgsProcessingException( QObject::tr( "Invalid minimum and maximum values, minimum must be lesser than maximum" ) );

if ( interval > ( maximum - minimum ) )
throw QgsProcessingException( QObject::tr( "Invalid minimum, maximum and inerval values, difference between minimum and maximum must be greater or equal than interval" ) );
throw QgsProcessingException( QObject::tr( "Invalid minimum, maximum and interval values, difference between minimum and maximum must be greater or equal than interval" ) );

int intervalCount = ( maximum - minimum ) / interval;

Expand Down

0 comments on commit 518f547

Please sign in to comment.