aboutsummaryrefslogtreecommitdiffstats
path: root/src/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/html.c')
-rw-r--r--src/html.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/html.c b/src/html.c
index 5a0bf4a..15ca782 100644
--- a/src/html.c
+++ b/src/html.c
@@ -10,6 +10,9 @@ static char rcsid[] = "$Id$";
/*
* $Log$
+ * Revision 1.9 2008/02/27 09:42:22 james
+ * *** empty log message ***
+ *
* Revision 1.8 2008/02/27 01:52:38 james
* *** empty log message ***
*
@@ -156,13 +159,13 @@ html_draw (FILE * f, CRT * c)
#else
fprintf (f, "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n");
#endif
- for (p.y = 0; p.y < CRT_ROWS; ++p.y)
+ for (p.y = 0; p.y < c->size.y; ++p.y)
{
o = CRT_ADDR (p.y, 0);
#ifndef CSS
fprintf (f, "<tr>");
#endif
- for (p.x = 0; p.x < CRT_COLS; ++p.x, ++o)
+ for (p.x = 0; p.x < c->size.x; ++p.x, ++o)
{
html_render (f, c->screen[o]);
}