diff options
author | Giulio Paci <giuliopaci@gmail.com> | 2013-05-29 04:22:19 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-05-29 10:46:14 +0100 |
commit | 18817a96822ad31f531b1f656a1ee350f00cd6b1 (patch) | |
tree | e737070d3c0f7ad6e0bdeb42a770802f39c0815c /src | |
parent | 5f86a1e1a87722b86ad5d4aab89d19d78f52403f (diff) |
Fixed spelling of TEXTCAT_RESULT_UNKOWN.
(cherry picked from commit efec6f63d2bff1470829bf5a651d687398a37e30)
Diffstat (limited to 'src')
-rw-r--r-- | src/textcat.c | 4 | ||||
-rw-r--r-- | src/textcat.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/textcat.c b/src/textcat.c index 7d4a57f..50d0e05 100644 --- a/src/textcat.c +++ b/src/textcat.c @@ -273,7 +273,7 @@ extern char *textcat_Classify(void *handle, const char *buffer, size_t size) switch (cnt) { - case TEXTCAT_RESULT_UNKOWN: + case TEXTCAT_RESULT_UNKNOWN: result = TEXTCAT_RESULT_UNKNOWN_STR; break; case TEXTCAT_RESULT_SHORT: @@ -359,7 +359,7 @@ extern int textcat_ClassifyFull(void *handle, const char *buffer, size_t size, /*** The verdict ***/ if (cnt == MAXCANDIDATES + 1) { - return TEXTCAT_RESULT_UNKOWN; + return TEXTCAT_RESULT_UNKNOWN; } else { diff --git a/src/textcat.h b/src/textcat.h index 8769204..d9dcd4c 100644 --- a/src/textcat.h +++ b/src/textcat.h @@ -42,7 +42,7 @@ #define TEXTCAT_RESULT_UNKNOWN_STR "UNKNOWN" #define TEXTCAT_RESULT_SHORT_STR "SHORT" -#define TEXTCAT_RESULT_UNKOWN 0 +#define TEXTCAT_RESULT_UNKNOWN 0 #define TEXTCAT_RESULT_SHORT -2 #ifdef __cplusplus |