Skip to content

Commit 09ff52c

Browse files
One additional fix which allows "gds write" to continue after a
cell is found to be missing, if "gds allow undefined" has been set.
1 parent 41d7755 commit 09ff52c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

database/DBexpand.c

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,8 +323,12 @@ dbReadAreaFunc(scx, err_ptr)
323323
{
324324
if (DBCellRead(def, TRUE, TRUE, NULL) == FALSE)
325325
{
326-
if (err_ptr != NULL) *err_ptr = def;
327-
return 1;
326+
if (err_ptr != NULL) {
327+
*err_ptr = def;
328+
return 1;
329+
}
330+
else
331+
return 0;
328332
}
329333

330334
/* Note: we don't have to invoke DBReComputeBbox here because

0 commit comments

Comments
 (0)