diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-09-03 21:35:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-03 21:35:27 +0200 |
commit | 27763b67bb63139319bf611590c40e48663e72d6 (patch) | |
tree | ad9a1589128f569fc6be2a99893b916491f87af1 /platform/iphone/in_app_store.mm | |
parent | 4dd915028a9c8819075d7ac5683f6da7ddf58087 (diff) | |
parent | 80b8eff6aa41ba79175a5152ba5b2b9b16f6de3f (diff) |
Merge pull request #40999 from bruvzg/ctl_string_to_utf32
[Complex Test Layouts] Refactor `String` to use UTF-32 encoding.
Diffstat (limited to 'platform/iphone/in_app_store.mm')
-rw-r--r-- | platform/iphone/in_app_store.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/iphone/in_app_store.mm b/platform/iphone/in_app_store.mm index dfec5d7634..1477f92200 100644 --- a/platform/iphone/in_app_store.mm +++ b/platform/iphone/in_app_store.mm @@ -138,7 +138,7 @@ Error InAppStore::request_product_info(Dictionary p_params) { NSMutableArray *array = [[[NSMutableArray alloc] initWithCapacity:pids.size()] autorelease]; for (int i = 0; i < pids.size(); i++) { - printf("******** adding %ls to product list\n", pids[i].c_str()); + printf("******** adding %s to product list\n", pids[i].utf8().get_data()); NSString *pid = [[[NSString alloc] initWithUTF8String:pids[i].utf8().get_data()] autorelease]; [array addObject:pid]; }; |