libexttextcat: mis-spell it again for old versions
Also, windows build cunningly uses an included version header that would be overwritten by configure. Change-Id: Id01b5dcd0f021a11d016571b6ee81e4fb8495020
This commit is contained in:
parent
501145f2e3
commit
221960b028
@ -13,6 +13,21 @@ diff -ur exttextcat.old/configure exttextcat/configure
|
||||
|
||||
|
||||
ac_config_files="$ac_config_files libexttextcat.pc Makefile langclass/Makefile langclass/LM/Makefile langclass/ShortTexts/Makefile src/Makefile src/exttextcat-version.h src/test-primary.sh src/test-secondary.sh"
|
||||
diff -ur exttextcat.old/src/exttextcat-version.h exttextcat/src/exttextcat-version.h
|
||||
--- exttextcat.old/src/exttextcat-version.h 2013-02-07 21:58:20.519793018 +0100
|
||||
+++ exttextcat/src/exttextcat-version.h 2013-03-25 21:40:24.822732870 +0100
|
||||
@@ -1,9 +1,9 @@
|
||||
#ifndef EXTTEXTCAT_VERSION_H
|
||||
#define EXTTEXTCAT_VERSION_H
|
||||
|
||||
-#define EXTTEXTCAT_VERSION "3.4.0"
|
||||
+#define EXTTEXTCAT_VERSION "3.4.1"
|
||||
#define EXTTEXTCAT_VERSION_MAJOR 3
|
||||
#define EXTTEXTCAT_VERSION_MINOR 4
|
||||
-#define EXTTEXTCAT_VERSION_MICRO 0
|
||||
+#define EXTTEXTCAT_VERSION_MICRO 1
|
||||
|
||||
#endif
|
||||
diff -ur exttextcat.old/src/textcat.c exttextcat/src/textcat.c
|
||||
--- exttextcat.old/src/textcat.c 2012-11-01 15:40:35.000000000 +0100
|
||||
+++ exttextcat/src/textcat.c 2013-03-25 16:22:57.226896529 +0100
|
||||
|
@ -63,7 +63,7 @@ Guess::Guess(const char * guess_str)
|
||||
&&
|
||||
strcmp((const char*)(guess_str + 1), TEXTCAT_RESULT_SHORT_STR) != 0)
|
||||
#else
|
||||
if(strcmp((const char*)(guess_str + 1), _TEXTCAT_RESULT_UNKNOWN) != 0
|
||||
if(strcmp((const char*)(guess_str + 1), _TEXTCAT_RESULT_UNKOWN) != 0
|
||||
&&
|
||||
strcmp((const char*)(guess_str + 1), _TEXTCAT_RESULT_SHORT) != 0)
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user