aboutsummaryrefslogtreecommitdiff
path: root/src/un_wstrings.c
diff options
context:
space:
mode:
authorbonmas14 <bonmas14@gmail.com>2025-09-25 14:17:07 +0300
committerbonmas14 <bonmas14@gmail.com>2025-09-25 14:17:07 +0300
commit166877cf15f6afa89c9f8a61e267d485868d0ee1 (patch)
tree9f080314edc4fb293f91227cdc1c01cfec8d7bae /src/un_wstrings.c
parent8ebdc95621bc61fdf3c98cd7ae4ddca67398df23 (diff)
downloadungrateful-166877cf15f6afa89c9f8a61e267d485868d0ee1.tar.gz
ungrateful-166877cf15f6afa89c9f8a61e267d485868d0ee1.zip
+disgrace and rework of ungrateful.h
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) {