aboutsummaryrefslogtreecommitdiff
path: root/dw/table.cc
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2024-07-28 16:35:51 +0200
committerRodrigo Arias Mallo <rodarima@gmail.com>2024-08-07 16:50:43 +0200
commit4d51150ca0aae979718ac10030df85421b763cd1 (patch)
treea824a83feefca6695fbe1072b3d724290b07af1f /dw/table.cc
parenta9950b3aca2a264e0ee1da1e2a29d3be11e6606c (diff)
Make Dillo C99 standard compliant
Reviewed-by: dogma
Diffstat (limited to 'dw/table.cc')
-rw-r--r--dw/table.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/dw/table.cc b/dw/table.cc
index 582c8184..18bf81cd 100644
--- a/dw/table.cc
+++ b/dw/table.cc
@@ -1196,10 +1196,13 @@ void Table::actuallyCalcCellSizes (bool calcHeights)
for (int col = 0; col < numCols; col++) {
int n = row * numCols + col;
if (childDefined (n)) {
+ /* FIXME: Variable width is not used */
+#if 0
int width = (children->get(n)->cell.colspanEff - 1)
* getStyle()->hBorderSpacing;
for (int i = 0; i < children->get(n)->cell.colspanEff; i++)
width += colWidths->get (col + i);
+#endif
core::Requisition childRequisition;
//children->get(n)->cell.widget->setWidth (width);