Use ENS_ for eSpeak NG error codes, and standardize on a numbering scheme.

This commit is contained in:
Reece H. Dunn
2016-01-02 12:20:25 +00:00
parent f9ea83430e
commit 563e4e3769
7 changed files with 13 additions and 14 deletions
+1 -1
View File
@@ -577,7 +577,7 @@ int main(int argc, char **argv)
espeak_ng_InitializePath(data_path);
espeak_ng_STATUS result = espeak_ng_Initialize();
if (result != ENS_OK) {
if (result == ENE_VERSION_MISMATCH)
if (result == ENS_VERSION_MISMATCH)
fprintf(stderr, "Wrong version of espeak-data (expected 0x%x) at %s\n", version_phdata, path_home);
else
fprintf(stderr, "Failed to load espeak-data\n");