chiark
/
gitweb
/
~ianmdlvl
/
sympathy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*** empty log message ***
[sympathy.git]
/
src
/
ansi.c
diff --git
a/src/ansi.c
b/src/ansi.c
index 408efd4429f27ce72e0e1ddf41cd29cc2dc41835..42f6a4c650476b752907670e96b36dbfcbc55c1d 100644
(file)
--- a/
src/ansi.c
+++ b/
src/ansi.c
@@
-10,9
+10,6
@@
static char rcsid[] = "$Id$";
/*
* $Log$
/*
* $Log$
- * Revision 1.34 2008/02/27 09:42:53 james
- * *** empty log message ***
- *
* Revision 1.33 2008/02/27 09:42:21 james
* *** empty log message ***
*
* Revision 1.33 2008/02/27 09:42:21 james
* *** empty log message ***
*
@@
-528,10
+525,10
@@
ansi_draw_line (ANSI * a, CRT_CA * cap, int y)
}
static void
}
static void
-ansi_resize_check (ANSI * a, CRT_Pos *
size)
+ansi_resize_check (ANSI * a, CRT_Pos *size)
{
{
- if ((size && crt_pos_cmp
(a->crt.size,
*size))
+ if ((size && crt_pos_cmp
(a->crt.size,
*size))
|| crt_pos_cmp (a->terminal->size, a->size))
{
|| crt_pos_cmp (a->terminal->size, a->size))
{
@@
-545,7
+542,7
@@
ansi_resize_check (ANSI * a, CRT_Pos * size)
crt_reset (&a->crt);
if (size)
crt_reset (&a->crt);
if (size)
- a->crt.size =
*size;
+ a->crt.size =*size;
// FIXME: -- echos back crap?
// a->terminal->xmit (a->terminal, "\033[c", 3);
// FIXME: -- echos back crap?
// a->terminal->xmit (a->terminal, "\033[c", 3);
@@
-577,7
+574,7
@@
ansi_history (ANSI * a, History * h)
{
char buf[32];
int i;
{
char buf[32];
int i;
- int guess_scroll;
+
int guess_scroll;
/*Do we need to catch up on history?*/
if (a->history_ptr == h->wptr)
/*Do we need to catch up on history?*/
if (a->history_ptr == h->wptr)
@@
-587,7
+584,7
@@
ansi_history (ANSI * a, History * h)
if ((a->size.x < a->crt.size.x) || (a->size.y < a->crt.size.y))
return;
if ((a->size.x < a->crt.size.x) || (a->size.y < a->crt.size.y))
return;
- guess_scroll
= a->crt.size.y - 1; /*Bototm line should be a status line
*/
+ guess_scroll
=a->crt.size.y-1; /*Bototm line should be a status line
*/
ansi_force_attr_normal (a);
ansi_force_attr_normal (a);
@@
-719,7
+716,7
@@
ansi_reset (ANSI * a, CRT * c)
static void
ansi_terminal_reset (ANSI * a)
{
static void
ansi_terminal_reset (ANSI * a)
{
- CRT_Pos p = { 0, a->crt.size.y
};
+ CRT_Pos p = { 0, a->crt.size.y};
ansi_force_attr_normal (a);
ansi_move (a, p);
ansi_force_attr_normal (a);
ansi_move (a, p);