Be stricter!

This commit is contained in:
Hisham 2016-02-03 02:02:30 +00:00
parent d311e85b91
commit 5c593fae42
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ void* xMalloc(size_t size) {
void* xCalloc(size_t nmemb, size_t size) {
void* data = calloc(nmemb, size);
if (!data && nmemb > 0 && size > 0) {
if (!data) {
curs_set(1);
endwin();
write(2, oomMessage, sizeof oomMessage - 1);