bessere Fehlerbehandlung

This commit is contained in:
devfix 2019-05-09 14:47:47 +02:00
parent 9ca804ec3d
commit 4f62b06209
5 changed files with 14 additions and 20 deletions

View file

@ -6,8 +6,7 @@ View::View()
{
if(!win)
{
ERR_MSG = "View::win not initialized, missing context!";
raise(SIGINT);
B15F::abort("View::win not initialized, missing context");
}
getmaxyx(win, height, width); // init width and height
keypad(win, TRUE);