summaryrefslogtreecommitdiff
path: root/src/utils/stringutils.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-15 16:36:27 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-15 16:36:27 +0300
commit9b9e36e41673b3e335fff0da1990897c293fa4a2 (patch)
tree10dc7c740efea589eed05080489a7d09c376afee /src/utils/stringutils.h
parent4f52c5ab5a0a13404f5d158f650db4f90c46c56b (diff)
downloadplus-9b9e36e41673b3e335fff0da1990897c293fa4a2.tar.gz
plus-9b9e36e41673b3e335fff0da1990897c293fa4a2.tar.bz2
plus-9b9e36e41673b3e335fff0da1990897c293fa4a2.tar.xz
plus-9b9e36e41673b3e335fff0da1990897c293fa4a2.zip
Add missing tests for string utils.
Diffstat (limited to 'src/utils/stringutils.h')
-rw-r--r--src/utils/stringutils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/stringutils.h b/src/utils/stringutils.h
index f9d7494aa..8053be689 100644
--- a/src/utils/stringutils.h
+++ b/src/utils/stringutils.h
@@ -30,6 +30,8 @@
#include "localconsts.h"
+static const size_t UTF8_MAX_SIZE = 10;
+
/**
* Trims spaces off the end and the beginning of the given string.
*