aboutsummaryrefslogtreecommitdiff
path: root/src/un_wstrings.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/un_wstrings.c')
-rw-r--r--src/un_wstrings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/un_wstrings.c b/src/un_wstrings.c
index 601c809..9e5115d 100644
--- a/src/un_wstrings.c
+++ b/src/un_wstrings.c
@@ -1,6 +1,6 @@
#if defined(OS_WINDOWS)
wchar* un_wstring_from_string(String utf8_string, Allocator alloc) {
- return un_wstring_from_cstring(un_string_to_cstring(utf8_string, un_allocator_get_temporary()), alloc);
+ return un_wstring_from_cstring(un_string_to_cstring(utf8_string, un_alloc_temp_get()), alloc);
}
wchar* un_wstring_from_cstring(u8 *utf8_string, Allocator alloc) {