bessere Fehlerbehandlung
This commit is contained in:
parent
9ca804ec3d
commit
4f62b06209
5 changed files with 14 additions and 20 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue