diff options
author | Mark Wielaard <mark@klomp.org> | 2013-06-08 23:56:49 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2013-06-10 05:00:15 +0000 |
commit | 1cee75488205c82e33360ea3c9656e880919e372 (patch) | |
tree | 83d3b35b24d19dc242a7e3f82eb0f49bd8cd7a11 /src | |
parent | 4f52043f6ee67f899c5d83f0aa55a0d98d50697a (diff) |
Reintroduce old deprecated bad spelling of constants.
It seems rather harsh to break source compatability just for fixing up
the bad spelling of some constants in a minor release. Lets just say they
are deprecated but only remove them when there are other incompatibilities.
Change-Id: Ifc685571a5f1a9caa7915f09fcb4d965d1fc5131
Reviewed-on: https://gerrit.libreoffice.org/4201
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/textcat.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/textcat.h b/src/textcat.h index d9dcd4c..e86e564 100644 --- a/src/textcat.h +++ b/src/textcat.h @@ -45,6 +45,11 @@ #define TEXTCAT_RESULT_UNKNOWN 0 #define TEXTCAT_RESULT_SHORT -2 +/* Old deprecated bad spelling. */ +#define _TEXTCAT_RESULT_UNKOWN TEXTCAT_RESULT_UNKNOWN_STR +#define _TEXTCAT_RESULT_SHORT TEXTCAT_RESULT_SHORT_STR +#define TEXTCAT_RESULT_UNKOWN TEXTCAT_RESULT_UNKNOWN + #ifdef __cplusplus extern "C" { |