summaryrefslogtreecommitdiff
path: root/src/const/utils
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-20 20:16:55 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-20 20:16:55 +0300
commit9e2074d093ecdf9afc95a2fefc24b38307da627d (patch)
tree1929792a3b9a9417dc152d6925b46b9e13cbec1c /src/const/utils
parent83d9ca38a91bd9d23cf439c3426f18b08906fc57 (diff)
downloadmanaverse-9e2074d093ecdf9afc95a2fefc24b38307da627d.tar.gz
manaverse-9e2074d093ecdf9afc95a2fefc24b38307da627d.tar.bz2
manaverse-9e2074d093ecdf9afc95a2fefc24b38307da627d.tar.xz
manaverse-9e2074d093ecdf9afc95a2fefc24b38307da627d.zip
Move utf8 constant into separate file.
Diffstat (limited to 'src/const/utils')
-rw-r--r--src/const/utils/utf8.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/const/utils/utf8.h b/src/const/utils/utf8.h
new file mode 100644
index 000000000..d7042f958
--- /dev/null
+++ b/src/const/utils/utf8.h
@@ -0,0 +1,28 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2011-2017 The ManaPlus Developers
+ *
+ * This file is part of The ManaPlus Client.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef CONST_UTILS_UTF8_H
+#define CONST_UTILS_UTF8_H
+
+#include "localconsts.h"
+
+static const size_t UTF8_MAX_SIZE = 10;
+
+#endif // CONST_UTILS_UTF8_H