summaryrefslogtreecommitdiff
path: root/appl/charon/build.b
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2006-12-23 00:30:12 +0000
committerCharles.Forsyth <devnull@localhost>2006-12-23 00:30:12 +0000
commit6e425a9de8c003b5a733621a6b6730ec3cc902b8 (patch)
tree314123bcab78ff295f38f85f31dc141e5fe22d15 /appl/charon/build.b
parent74a4d8c26dd3c1e9febcb717cfd6cb6512991a7a (diff)
20061220
Diffstat (limited to 'appl/charon/build.b')
-rw-r--r--appl/charon/build.b4
1 files changed, 4 insertions, 0 deletions
diff --git a/appl/charon/build.b b/appl/charon/build.b
index cf3a0b09..92ba90aa 100644
--- a/appl/charon/build.b
+++ b/appl/charon/build.b
@@ -2772,6 +2772,10 @@ Tablerow.new(align: Align, bg: Background, flags: byte) : ref Tablerow
Tablecell.new(cellid, rowspan, colspan: int, align: Align, wspec: Dimen,
hspec: int, bg: Background, flags: byte) : ref Tablecell
{
+ if(colspan < 0)
+ colspan = 0;
+ if(rowspan < 0)
+ rowspan = 0;
return ref Tablecell(cellid,
nil, -1, # content, layid
rowspan, colspan, align, flags, wspec, hspec, bg,