Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-07-08 00:06:34 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-07-08 00:06:34 +0400
commitea1f1fe0c20ab41fb9c9d332e7317d04a3bf0baf (patch)
tree4db5fd62e8e8e4bbff7edf64968e4f27f2d03f73 /tests/gtests/blenlib
parentaac283966f663af78bb6036d107a63de3da29cd7 (diff)
BLI_string, dont pass unicode to ascii BLI_str_partition functions
Diffstat (limited to 'tests/gtests/blenlib')
-rw-r--r--tests/gtests/blenlib/BLI_string_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gtests/blenlib/BLI_string_test.cc b/tests/gtests/blenlib/BLI_string_test.cc
index 5a828f39f9c..13091d9e074 100644
--- a/tests/gtests/blenlib/BLI_string_test.cc
+++ b/tests/gtests/blenlib/BLI_string_test.cc
@@ -35,7 +35,7 @@ int mk_wcswidth(const wchar_t *pwcs, size_t n)
/* BLI_str_partition */
TEST(string, StrPartition)
{
- const unsigned int delim[] = {'-', '.', '_', 0x00F1 /* n tilde */, 0x262F /* ying-yang */, '\0'};
+ const char delim[] = {'-', '.', '_', '~', '\\', '\0'};
char *sep, *suf;
size_t pre_ln;
@@ -94,7 +94,7 @@ TEST(string, StrPartition)
/* BLI_str_rpartition */
TEST(string, StrRPartition)
{
- const unsigned int delim[] = {'-', '.', '_', 0x00F1 /* n tilde */, 0x262F /* ying-yang */, '\0'};
+ const char delim[] = {'-', '.', '_', '~', '\\', '\0'};
char *sep, *suf;
size_t pre_ln;