summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-04-02 19:43:57 +0200
committerMichael Stahl <mstahl@redhat.com>2013-04-02 19:43:57 +0200
commit4b8e6a81c61e7142b9637b4c3e1d2aac40b33610 (patch)
treecd1ed784ce1c73e640c34253fe509127871aaae5 /src
parent789c444be410ac46ec7cd892882b7dd231f61221 (diff)
fix spelling of _TEXTCAT_RESULT_UNKOWN
... and remove the _ prefix too (also on _TEXTCAT_RESULT_SHORT).
Diffstat (limited to 'src')
-rw-r--r--src/textcat.c4
-rw-r--r--src/textcat.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/textcat.c b/src/textcat.c
index 9552bd5..7d4a57f 100644
--- a/src/textcat.c
+++ b/src/textcat.c
@@ -274,10 +274,10 @@ extern char *textcat_Classify(void *handle, const char *buffer, size_t size)
switch (cnt)
{
case TEXTCAT_RESULT_UNKOWN:
- result = _TEXTCAT_RESULT_UNKOWN;
+ result = TEXTCAT_RESULT_UNKNOWN_STR;
break;
case TEXTCAT_RESULT_SHORT:
- result = _TEXTCAT_RESULT_SHORT;
+ result = TEXTCAT_RESULT_SHORT_STR;
break;
default:
{
diff --git a/src/textcat.h b/src/textcat.h
index 407c30a..8769204 100644
--- a/src/textcat.h
+++ b/src/textcat.h
@@ -40,8 +40,8 @@
#include "common.h"
#include "textcat_properties.h"
-#define _TEXTCAT_RESULT_UNKOWN "UNKNOWN"
-#define _TEXTCAT_RESULT_SHORT "SHORT"
+#define TEXTCAT_RESULT_UNKNOWN_STR "UNKNOWN"
+#define TEXTCAT_RESULT_SHORT_STR "SHORT"
#define TEXTCAT_RESULT_UNKOWN 0
#define TEXTCAT_RESULT_SHORT -2