mirror of
https://github.com/openbsd/src.git
synced 2025-01-10 06:47:55 -08:00
ncurses: ERR -> NULL
This commit is contained in:
parent
02aadf8c70
commit
b3f83f7663
@ -74,7 +74,7 @@ visual()
|
||||
void moveenemy();
|
||||
|
||||
destroyed = 0;
|
||||
if(initscr() == ERR){
|
||||
if(initscr() == NULL){
|
||||
puts("Whoops! No more memory...");
|
||||
return(0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user