aboutsummaryrefslogtreecommitdiffstats
path: root/src/vt102.c
diff options
context:
space:
mode:
authorjames <>2008-02-27 01:32:41 +0000
committerjames <>2008-02-27 01:32:41 +0000
commitb9ff400d3331ccd3be0aad49cbdadf2cb23a68e2 (patch)
tree0f9f014112617202e1cfc13549eb7e01021aa5e5 /src/vt102.c
parent4add819b42c292ee2a6fc4aeda782a447b1bcf27 (diff)
downloadsympathy-b9ff400d3331ccd3be0aad49cbdadf2cb23a68e2.tar.gz
sympathy-b9ff400d3331ccd3be0aad49cbdadf2cb23a68e2.tar.bz2
sympathy-b9ff400d3331ccd3be0aad49cbdadf2cb23a68e2.zip
*** empty log message ***
Diffstat (limited to 'src/vt102.c')
-rw-r--r--src/vt102.c20
1 files changed, 12 insertions, 8 deletions
diff --git a/src/vt102.c b/src/vt102.c
index a879999..52f7fb9 100644
--- a/src/vt102.c
+++ b/src/vt102.c
@@ -10,6 +10,9 @@ static char rcsid[] = "$Id$";
/*
* $Log$
+ * Revision 1.46 2008/02/27 01:31:38 james
+ * *** empty log message ***
+ *
* Revision 1.45 2008/02/27 01:31:14 james
* *** empty log message ***
*
@@ -2032,14 +2035,15 @@ vt102_new (int width)
vt102_reset (v);
- if (width) {
- v->current_width =width;
- v->crt.width = v->current_width;
- v->screen_end.x = v->current_width - 1;
- v->top_margin = v->screen_start;
- v->bottom_margin = v->screen_end;
- vt102_cursor_home (v);
- }
+ if (width)
+ {
+ v->current_width = width;
+ v->crt.width = v->current_width;
+ v->screen_end.x = v->current_width - 1;
+ v->top_margin = v->screen_start;
+ v->bottom_margin = v->screen_end;
+ vt102_cursor_home (v);
+ }
return v;
}