aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-03-12 16:59:50 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-03-12 16:59:50 +0000
commitf0778b573df537c1692ec9b5cd3da7cd555da838 (patch)
treeafb4c49cdd0029465297c7e186c9ee0eab971681 /file.c
parentrelease date (diff)
downloadw3m-f0778b573df537c1692ec9b5cd3da7cd555da838.tar.gz
w3m-f0778b573df537c1692ec9b5cd3da7cd555da838.zip
[w3m-dev 03116] Re: aligned block in <td align="center">
* file.c (flushline): align if align="align" * fm.h (RB_LEFT): change value (RB_ALIGN): include RB_LEFT (RB_INTABLE): added * table.c (do_refill): obuf.flag |= RB_INTABLE From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r--file.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/file.c b/file.c
index 6e91c7c..fb48e36 100644
--- a/file.c
+++ b/file.c
@@ -1,4 +1,4 @@
-/* $Id: file.c,v 1.81 2002/03/11 16:02:42 ukai Exp $ */
+/* $Id: file.c,v 1.82 2002/03/12 16:59:50 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
#include "myctype.h"
@@ -2470,6 +2470,9 @@ flushline(struct html_feed_environ *h_env, struct readbuffer *obuf, int indent,
else if (RB_GET_ALIGN(obuf) == RB_RIGHT) {
align(lbuf, width, ALIGN_RIGHT);
}
+ else if (RB_GET_ALIGN(obuf) == RB_LEFT && obuf->flag & RB_INTABLE) {
+ align(lbuf, width, ALIGN_LEFT);
+ }
#ifdef FORMAT_NICE
else if (obuf->flag & RB_FILL) {
char *p;