Skip to content

Commit

Permalink
Misc. source and comment typos
Browse files Browse the repository at this point in the history
These need a little more review, so I added them in to a separate PR.
  • Loading branch information
luzpaz authored and nyalldawson committed Mar 12, 2018
1 parent ade747b commit 2a6ae6a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions external/libdxfrw/drw_header.cpp
Expand Up @@ -1947,8 +1947,8 @@ bool DRW_Header::parseDwg( DRW::Version version, dwgBuffer *buf, dwgBuffer *hBbu
if ( version > DRW::AC1021 && mv > 3 ) //2010+
{
duint32 hSize = buf->getRawLong32();
endBitPos += 32; //start bit: + 4 hight size
QgsDebugMsg( QString( "2010+ & MV> 3, higth 32b:%1" ).arg( hSize ) );
endBitPos += 32; //start bit: + 4 height size
QgsDebugMsg( QString( "2010+ & MV> 3, height 32b:%1" ).arg( hSize ) );
Q_UNUSED( hSize );
}
//RLZ TODO add $ACADVER var & $DWGCODEPAGE & $MEASUREMENT
Expand Down
2 changes: 1 addition & 1 deletion external/libdxfrw/intern/dwgreader18.cpp
Expand Up @@ -644,7 +644,7 @@ bool dwgReader18::readDwgClasses()
if ( version > DRW::AC1021 && maintenanceVersion > 3 ) //2010+
{
duint32 hSize = dataBuf.getRawLong32();
DRW_DBG( "\n2010+ & MV> 3, higth 32b: " );
DRW_DBG( "\n2010+ & MV> 3, height 32b: " );
DRW_DBG( hSize );
}
duint32 bitSize = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsgeometryvalidator.h
Expand Up @@ -34,7 +34,7 @@ class CORE_EXPORT QgsGeometryValidator : public QThread
/**
* Constructor for QgsGeometryValidator.
*/
QgsGeometryValidator( const QgsGeometry &geoemtry, QVector<QgsGeometry::Error> *errors = nullptr, QgsGeometry::ValidationMethod method = QgsGeometry::ValidatorQgisInternal );
QgsGeometryValidator( const QgsGeometry &geometry, QVector<QgsGeometry::Error> *errors = nullptr, QgsGeometry::ValidationMethod method = QgsGeometry::ValidatorQgisInternal );
~QgsGeometryValidator() override;

void run() override;
Expand Down
2 changes: 1 addition & 1 deletion src/providers/wcs/qgswcscapabilities.cpp
Expand Up @@ -822,7 +822,7 @@ bool QgsWcsCapabilities::parseDescribeCoverageDom10( QByteArray const &xml, QgsW
QList<int> high = parseInts( domElementText( gridElement, QStringLiteral( "limits.GridEnvelope.high" ) ) );
if ( low.size() == 2 && high.size() == 2 )
{
// low/high are indexes in grid -> size is hight - low + 1
// low/high are indexes in grid -> size is height - low + 1
double width = high[0] - low[0] + 1;
double height = high[1] - low[1] + 1;
if ( width > 0 && height > 0 )
Expand Down

0 comments on commit 2a6ae6a

Please sign in to comment.