summaryrefslogtreecommitdiff
path: root/libs/hunspell/src/w_char.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libs/hunspell/src/w_char.hxx')
-rw-r--r--libs/hunspell/src/w_char.hxx21
1 files changed, 9 insertions, 12 deletions
diff --git a/libs/hunspell/src/w_char.hxx b/libs/hunspell/src/w_char.hxx
index 336c454f79..5accb7568f 100644
--- a/libs/hunspell/src/w_char.hxx
+++ b/libs/hunspell/src/w_char.hxx
@@ -1,6 +1,8 @@
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
+ * Copyright (C) 2002-2017 Németh László
+ *
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
@@ -11,12 +13,7 @@
* for the specific language governing rights and limitations under the
* License.
*
- * The Original Code is Hunspell, based on MySpell.
- *
- * The Initial Developers of the Original Code are
- * Kevin Hendricks (MySpell) and Németh László (Hunspell).
- * Portions created by the Initial Developers are Copyright (C) 2002-2005
- * the Initial Developers. All Rights Reserved.
+ * Hunspell is based on MySpell which is Copyright (C) 2002 Kevin Hendricks.
*
* Contributor(s): David Einstein, Davide Prina, Giuseppe Modugno,
* Gianluca Turconi, Simon Brouwer, Noll János, Bíró Árpád,
@@ -38,8 +35,10 @@
*
* ***** END LICENSE BLOCK ***** */
-#ifndef __WCHARHXX__
-#define __WCHARHXX__
+#ifndef W_CHAR_HXX_
+#define W_CHAR_HXX_
+
+#include <string>
#ifndef GCC
struct w_char {
@@ -66,10 +65,8 @@ struct __attribute__((packed)) w_char {
// two character arrays
struct replentry {
- char* pattern;
- char* pattern2;
- bool start;
- bool end;
+ std::string pattern;
+ std::string outstrings[4]; // med, ini, fin, isol
};
#endif