Skip to content

Commit a29921e

Browse files
Apply suggestions from code review
Update feedback comment Co-authored-by: Nyall Dawson <[email protected]>
1 parent f338d46 commit a29921e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/analysis/processing/qgsalgorithmmergevector.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -182,14 +182,14 @@ QVariantMap QgsMergeVectorAlgorithm::processAlgorithm( const QVariantMap &parame
182182
else if ( destField.type() == QMetaType::Type::QString && destField.length() < sourceField.length() )
183183
{
184184
feedback->pushWarning( QObject::tr( "%1 field in layer %2 has different field length than the destination layer (%3 vs %4). "
185-
"%1 field length will be extended to match the maximun of the two." )
185+
"%1 field length will be extended to match the larger of the two." )
186186
.arg( sourceField.name(), layerName, QString::number( sourceField.length() ), QString::number( destField.length() ) ) );
187187
destField.setLength( sourceField.length() );
188188
}
189189
else if ( destField.type() == QMetaType::Type::Double && destField.precision() < sourceField.precision() )
190190
{
191191
feedback->pushWarning( QObject::tr( "%1 field in layer %2 has different field precision than the destination layer (%3 vs %4). "
192-
"%1 field precision will be extended to match the maximun of the two." )
192+
"%1 field precision will be extended to match the larger of the two." )
193193
.arg( sourceField.name(), layerName, QString::number( sourceField.length() ), QString::number( destField.length() ) ) );
194194
destField.setPrecision( sourceField.precision() );
195195
}

0 commit comments

Comments
 (0)