From ea1f1fe0c20ab41fb9c9d332e7317d04a3bf0baf Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 8 Jul 2014 06:06:34 +1000 Subject: BLI_string, dont pass unicode to ascii BLI_str_partition functions --- tests/gtests/blenlib/BLI_string_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/gtests/blenlib') 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; -- cgit v1.2.3