Mercurial > hg > forks > pwpunix
comparison pwplib/colorterm.c @ 57:7d4f6c33a6ac
Warning cleanup.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 28 May 2010 15:24:04 +0300 |
parents | 77f40a3c0095 |
children |
comparison
equal
deleted
inserted
replaced
56:5d819ba6891c | 57:7d4f6c33a6ac |
---|---|
7 #include <unistd.h> | 7 #include <unistd.h> |
8 #include <fcntl.h> | 8 #include <fcntl.h> |
9 #include <termios.h> | 9 #include <termios.h> |
10 | 10 |
11 #include "pwplib.h" | 11 #include "pwplib.h" |
12 #include "convert.h" | |
12 #include "tty.h" | 13 #include "tty.h" |
13 | 14 |
14 #ifdef howmany | 15 #ifdef howmany |
15 # undef howmany | 16 # undef howmany |
16 #endif | 17 #endif |
125 s+=pwplib.videobuf.width*2; | 126 s+=pwplib.videobuf.width*2; |
126 p+=pwplib.videobuf.width*2; | 127 p+=pwplib.videobuf.width*2; |
127 } | 128 } |
128 } | 129 } |
129 | 130 |
130 tty_write(tmp,d-tmp); | 131 tty_write(tmp, d - tmp); |
131 | 132 |
132 TEMPFREE(tmp); | 133 TEMPFREE(tmp); |
133 return d-tmp; | 134 return d-tmp; |
134 } | 135 } |
135 | 136 |