aboutsummaryrefslogtreecommitdiffstats
path: root/table.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-05-14 16:02:41 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-05-14 16:02:41 +0000
commit5fb1fb8d28ff062c14042342e292ec3d46a846f9 (patch)
tree59641049b2d31a32d5a9a6aaf67b75bb0632e871 /table.c
parent[w3m-dev 03902] Re: table rendering (diff)
downloadw3m-5fb1fb8d28ff062c14042342e292ec3d46a846f9.tar.gz
w3m-5fb1fb8d28ff062c14042342e292ec3d46a846f9.zip
fix indent
Diffstat (limited to '')
-rw-r--r--table.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/table.c b/table.c
index f03bc60..ca04d4c 100644
--- a/table.c
+++ b/table.c
@@ -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
*/
@@ -3528,14 +3528,14 @@ check_relative_width(struct table *t, int maxwidth)
if (n_leftcell == 0) {
/* w must be identical to r */
if (w != r)
- cell->fixed_width[i] = -100*r;
+ cell->fixed_width[i] = -100 * r;
}
else {
if (w <= r) {
/* make room for the left(width-unspecified) cell */
/* the next formula is an estimation of required width */
- w = r*cell->colspan[i]/(cell->colspan[i]-n_leftcell);
- cell->fixed_width[i] = -100*w;
+ w = r * cell->colspan[i] / (cell->colspan[i] - n_leftcell);
+ cell->fixed_width[i] = -100 * w;
}
for (j = 0; j < cell->colspan[i]; j++) {
if (rcolwidth[j + k] == 0)