Changeset 3500 for neercs/trunk/src/main.c
- Timestamp:
- 05/22/09 11:03:40 (4 years ago)
- File:
-
- 1 edited
-
neercs/trunk/src/main.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
neercs/trunk/src/main.c
r3498 r3500 209 209 fcntl(screen_list->socket[SOCK_CLIENT], F_SETFL, O_NONBLOCK); 210 210 } 211 else if(!strncmp("REFRESH", buf, 7)) 212 { 213 int dt; 211 else if(!strncmp("REFRESH ", buf, 8)) 212 { 213 int dt, x, y; 214 /* FIXME check the length before calling atoi*/ 215 x = atoi(buf+8); 216 y = atoi(buf+19); 217 caca_gotoxy(screen_list->cv, x, y); 214 218 caca_refresh_display(screen_list->dp); 215 219 dt = caca_get_display_time(screen_list->dp);
Note: See TracChangeset
for help on using the changeset viewer.
