Changeset 0471786 in mainline for uspace/srv/fb/ega.c
- Timestamp:
- 2009-06-16T20:22:58Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 62140db
- Parents:
- 08c9f7d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fb/ega.c
r08c9f7d r0471786 88 88 static void clrscr(void) 89 89 { 90 inti;90 unsigned i; 91 91 92 92 for (i = 0; i < scr_width * scr_height; i++) { … … 130 130 static void scroll(int rows) 131 131 { 132 int i; 132 unsigned i; 133 133 134 if (rows > 0) { 134 135 memmove(scr_addr, ((char *) scr_addr) + rows * scr_width * 2, … … 346 347 case FB_SCROLL: 347 348 i = IPC_GET_ARG1(call); 348 if (i > scr_height || i < -((int) scr_height)) {349 if (i > (int) scr_height || i < -((int) scr_height)) { 349 350 retval = EINVAL; 350 351 break;
Note:
See TracChangeset
for help on using the changeset viewer.