fix indent
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
/* $Id: table.c,v 1.44 2003/05/14 16:01:32 ukai Exp $ */
|
/* $Id: table.c,v 1.45 2003/05/14 16:02:41 ukai Exp $ */
|
||||||
/*
|
/*
|
||||||
* HTML table
|
* HTML table
|
||||||
*/
|
*/
|
||||||
@@ -3528,14 +3528,14 @@ check_relative_width(struct table *t, int maxwidth)
|
|||||||
if (n_leftcell == 0) {
|
if (n_leftcell == 0) {
|
||||||
/* w must be identical to r */
|
/* w must be identical to r */
|
||||||
if (w != r)
|
if (w != r)
|
||||||
cell->fixed_width[i] = -100*r;
|
cell->fixed_width[i] = -100 * r;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (w <= r) {
|
if (w <= r) {
|
||||||
/* make room for the left(width-unspecified) cell */
|
/* make room for the left(width-unspecified) cell */
|
||||||
/* the next formula is an estimation of required width */
|
/* the next formula is an estimation of required width */
|
||||||
w = r*cell->colspan[i]/(cell->colspan[i]-n_leftcell);
|
w = r * cell->colspan[i] / (cell->colspan[i] - n_leftcell);
|
||||||
cell->fixed_width[i] = -100*w;
|
cell->fixed_width[i] = -100 * w;
|
||||||
}
|
}
|
||||||
for (j = 0; j < cell->colspan[i]; j++) {
|
for (j = 0; j < cell->colspan[i]; j++) {
|
||||||
if (rcolwidth[j + k] == 0)
|
if (rcolwidth[j + k] == 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user