mirror of https://github.com/KLayout/klayout.git
Fixed issue-517
This commit is contained in:
parent
621cb9edcd
commit
c9955d39a6
|
|
@ -661,7 +661,9 @@ LEFDEFImporter::create_generated_via (std::vector<db::Polygon> &bottom,
|
||||||
|
|
||||||
for (int r = 0; r < rows; ++r) {
|
for (int r = 0; r < rows; ++r) {
|
||||||
|
|
||||||
if (rp == 0 && *p) {
|
if (rp == 0) {
|
||||||
|
|
||||||
|
if (*p) {
|
||||||
|
|
||||||
// read a new row specification
|
// read a new row specification
|
||||||
rp = 0;
|
rp = 0;
|
||||||
|
|
@ -683,11 +685,17 @@ LEFDEFImporter::create_generated_via (std::vector<db::Polygon> &bottom,
|
||||||
++p;
|
++p;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
} else {
|
||||||
|
rp = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (rp > 0) {
|
}
|
||||||
|
|
||||||
|
if (rp != 0) {
|
||||||
|
|
||||||
|
if (rp > 0) {
|
||||||
--rp;
|
--rp;
|
||||||
|
}
|
||||||
|
|
||||||
const char *pp = p0;
|
const char *pp = p0;
|
||||||
unsigned int d = 0;
|
unsigned int d = 0;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue