From 9331a9d035bb1b2f9e08ef9141acad1e180fb70b Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Mon, 31 Aug 2015 08:07:29 +0000 Subject: Toaster: wcslen -> mir_wstrlen git-svn-id: http://svn.miranda-ng.org/main/trunk@15125 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Toaster/src/string_reference_wrapper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Toaster/src/string_reference_wrapper.h') diff --git a/plugins/Toaster/src/string_reference_wrapper.h b/plugins/Toaster/src/string_reference_wrapper.h index 4ce37d5245..6daeb0fee1 100644 --- a/plugins/Toaster/src/string_reference_wrapper.h +++ b/plugins/Toaster/src/string_reference_wrapper.h @@ -25,7 +25,7 @@ public: template StringReferenceWrapper(_In_reads_(_) wchar_t(&stringRef)[_]) throw() { - size_t length = wcslen(stringRef); + size_t length = mir_wstrlen(stringRef); WindowsCreateStringReference(stringRef, length, &_header, &_hstring); } -- cgit v1.2.3