[prev in list] [next in list] [prev in thread] [next in thread] 

List:       elinks-cvs
Subject:    [ELinks] elinks - zas: Typo fix in add_chars() macro: @term -> @te...
From:       cvs () pasky ! or ! cz
Date:       2004-04-30 8:40:02
Message-ID: 20040430084002.15986.qmail () machine ! sinus ! cz
[Download RAW message or body]

This is an automated notification of a change to the ELinks CVS tree.

Author: zas
Module: elinks
   Tag: <TRUNK>
  Date: Fri Apr 30 08:40:02 2004 GMT

---- Log message:

Typo fix in add_chars() macro: @term -> @term_.


---- Files affected:

elinks/src/terminal:
   screen.c (1.129 -> 1.130) 
    http://cvsweb.elinks.or.cz/cvsweb.cgi/elinks/src/terminal/screen.c.diff?r1=1.129&r2=1.130&f=u


---- Diffs:

 elinks/src/terminal/screen.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: elinks/src/terminal/screen.c
diff -u elinks/src/terminal/screen.c:1.129 elinks/src/terminal/screen.c:1.130
--- elinks/src/terminal/screen.c:1.129	Fri Apr 30 10:38:29 2004
+++ elinks/src/terminal/screen.c	Fri Apr 30 10:39:56 2004
@@ -565,7 +565,7 @@
 #define add_chars(image_, term_, driver_, state_, ADD_CHAR)			\
 {										\
 	register int y = (term_)->screen->dirty_from;				\
-	int ypos = y * term->width;						\
+	int ypos = y * (term_)->width;						\
 	register struct screen_char *current = &(term_)->screen->last_image[ypos]; \
 	register struct screen_char *pos = &(term_)->screen->image[ypos];	\
 	register struct screen_char *prev_pos = NULL;				\

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic