Changed ERR to CURSES_ERR and OK to CURSES_OK.