Misc typos: length.

This commit is contained in:
Roman Telezhynskyi 2021-11-22 18:39:20 +02:00
parent 47e0e3d0f3
commit 1b4dfc7988

View File

@ -1527,7 +1527,7 @@ void DRW_Header::write(dxfWriter *writer, DRW::Version ver){
else
writer->writeDouble(40, 50.0);
writer->writeString(9, "$CAMERAHEIGHT");
if (getDouble("$CAMERAHEIGTH", &varDouble))
if (getDouble("$CAMERAHEIGHT", &varDouble))
writer->writeDouble(40, varDouble);
else
writer->writeDouble(40, 0.0);