/uspace/trunk/fb/ega.c |
---|
84,7 → 84,7 |
ipc_answer_fast(callid,0,0,0); |
return; /* Exit thread */ |
case FB_GET_CSIZE: |
ipc_answer_fast(callid, 0, scr_width, scr_height); |
ipc_answer_fast(callid, 0, scr_height, scr_width); |
continue; |
case FB_CLEAR: |
clrscr(); |
/uspace/trunk/libc/generic/string.c |
---|
276,6 → 276,6 |
char *strncpy(char *dest, const char *src, size_t n) |
{ |
while (*(dest++) = *(src++) && --n) |
while ((*(dest++) = *(src++)) && --n) |
; |
} |