|
From: | nei |
Subject: | [libredwg] Re: bug loading text |
Date: | Thu, 24 Mar 2011 14:44:59 -0300 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 6.1; pt-BR; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 |
Em 24/03/2011 14:15, nei escreveu:
Hi, i discovery a bug in dwgspec. follow the bug and my solution: bug: FIELD_2RD(insertion_pt); if (!(FIELD_VALUE(dataflags) & 0x02)) { FIELD_2DD(alignment_pt, 10, 20); } my solution: FIELD_2RD(insertion_pt); if (!(FIELD_VALUE(dataflags) & 0x02)) { FIELD_2DD(alignment_pt, insertion_pt.x, insertion_pt.y); } regards Nei
sorry me, this is right solution: FIELD_2RD(insertion_pt); if (!(FIELD_VALUE(dataflags) & 0x02)) {FIELD_2DD(alignment_pt,_obj-> insertion_pt.x, _obj-> insertion_pt.y);
} other entities too need this change.
[Prev in Thread] | Current Thread | [Next in Thread] |