Subversion Repositories HelenOS-historic

Compare Revisions

Regard whitespace Rev 1718 → Rev 1719

/uspace/trunk/fb/sysio.c
120,6 → 120,7
ipc_answer_fast(iid, ELIMIT, 0,0);
return;
}
client_connected = 1;
ipc_answer_fast(iid, 0, 0, 0); /* Accept connection */
while (1) {
133,7 → 134,7
c = IPC_GET_ARG1(call);
newrow = IPC_GET_ARG2(call);
newcol = IPC_GET_ARG3(call);
if (lastcol != newcol || lastrow!=newrow)
if ((lastcol != newcol) || (lastrow != newrow))
curs_goto(newrow, newcol);
lastcol = newcol + 1;
lastrow = newrow;
146,6 → 147,7
curs_goto(newrow, newcol);
lastrow = newrow;
lastcol = newcol;
retval = 0;
break;
case FB_GET_CSIZE:
ipc_answer_fast(callid, 0, HEIGHT, WIDTH);
165,7 → 167,7
break;
case FB_SCROLL:
i = IPC_GET_ARG1(call);
if (i > HEIGHT || i < -HEIGHT) {
if ((i > HEIGHT) || (i < -HEIGHT)) {
retval = EINVAL;
break;
}
173,10 → 175,10
curs_goto(lastrow, lastcol);
retval = 0;
break;
 
default:
retval = ENOENT;
}
ipc_answer_fast(callid,retval,0,0);
}
}
194,4 → 196,3
/**
* @}
*/