Skip to content
Snippets Groups Projects
Commit 794df0c3 authored by rswindell's avatar rswindell
Browse files

Error messages go to stderr.

parent f1e2f2ce
No related branches found
No related tags found
No related merge requests found
......@@ -193,12 +193,12 @@ int uifcinic(uifcapi_t* uifcapi)
api->scrn_len=height;
if(api->scrn_len<MIN_LINES || api->scrn_len>MAX_LINES) {
cprintf("\7UIFC: Screen length (%u) must be between %d and %d lines\r\n"
fprintf(stderr,"\7UIFC: Screen length (%u) must be between %d and %d lines\n"
,api->scrn_len,MIN_LINES,MAX_LINES);
return(-2);
}
if(width*height*2>MAX_BFLN) {
cprintf("\7UIFC: Screen size (%u x %u) must be smaller than %u\r\n"
fprintf(stderr,"\7UIFC: Screen size (%u x %u) must be smaller than %u\n"
,api->scrn_len,width,height,(uchar)(MAX_BFLN/2));
return(-2);
}
......@@ -207,7 +207,7 @@ int uifcinic(uifcapi_t* uifcapi)
if(width<80) {
cprintf("\7UIFC: Screen width (%u) must be at least 80 characters\r\n"
fprintf(stderr,"\7UIFC: Screen width (%u) must be at least 80 characters\n"
,width);
return(-3);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment