Skip to content
Snippets Groups Projects
Commit 7466bc14 authored by Danny Auble's avatar Danny Auble
Browse files

took out the printf's with error()

parent 6962e941
No related branches found
No related tags found
No related merge requests found
......@@ -95,7 +95,7 @@ int main(int argc, char *argv[])
pa_init(node_info_ptr);
}
#else
printf("This will only run on a BGL system right now.\n");
error("This will only run on a BGL system right now.\n");
exit(0);
#endif
......@@ -107,7 +107,7 @@ int main(int argc, char *argv[])
initscr();
if (COLS < (75 + width) || LINES < height) {
endwin();
printf("Screen is too small make sure the screen is at least %dx%d\n"
error("Screen is too small make sure the screen is at least %dx%d\n"
"Right now it is %dx%d\n", 75 + width, height, COLS, LINES);
exit(0);
}
......@@ -232,7 +232,7 @@ void *_resize_handler(int sig)
initscr();
if (COLS < (75 + width) || LINES < height) {
endwin();
printf("Screen is too small make sure the screen is at least %dx%d\n"
error("Screen is too small make sure the screen is at least %dx%d\n"
"Right now it is %dx%d\n", 75 + width, height, COLS, LINES);
exit(0);
}
......
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