GCC warning.
--HG-- branch : feature
This commit is contained in:
parent
279e1cda84
commit
c0b0053859
|
@ -472,12 +472,14 @@ void DRW_Header::write(dxfWriter *writer, DRW::Version ver){
|
||||||
if (getInt("$DIMSOXD", &varInt))
|
if (getInt("$DIMSOXD", &varInt))
|
||||||
writer->writeInt16(70, varInt);
|
writer->writeInt16(70, varInt);
|
||||||
else
|
else
|
||||||
|
{
|
||||||
writer->writeInt16(70, 0);
|
writer->writeInt16(70, 0);
|
||||||
writer->writeString(9, "$DIMSAH");
|
writer->writeString(9, "$DIMSAH");
|
||||||
if (getInt("$DIMSAH", &varInt))
|
if (getInt("$DIMSAH", &varInt))
|
||||||
writer->writeInt16(70, varInt);
|
writer->writeInt16(70, varInt);
|
||||||
else
|
else
|
||||||
writer->writeInt16(70, 0);
|
writer->writeInt16(70, 0);
|
||||||
|
}
|
||||||
writer->writeString(9, "$DIMBLK1");
|
writer->writeString(9, "$DIMBLK1");
|
||||||
if (getStr("$DIMBLK1", &varStr))
|
if (getStr("$DIMBLK1", &varStr))
|
||||||
if (ver == DRW::AC1009)
|
if (ver == DRW::AC1009)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user