Fix mapping to the EE_NOT_FOUND status code.

This commit is contained in:
Reece H. Dunn
2016-01-02 19:35:08 +00:00
parent 76d8c67b52
commit 0dcc1083a2
+1
View File
@@ -42,6 +42,7 @@ static espeak_ERROR status_to_espeak_error(espeak_ng_STATUS status)
{
case ENS_OK: return EE_OK;
case ENOENT: return EE_NOT_FOUND;
case ENS_VOICE_NOT_FOUND: return EE_NOT_FOUND;
case ENS_FIFO_BUFFER_FULL: return EE_BUFFER_FULL;
default: return EE_INTERNAL_ERROR;
}