22 Oct
2024
22 Oct
'24
3:54 a.m.
From: Semenov Herman (Семенов Герман)<GermanAizek(a)yandex.ru> --- dlls/oledb32/datainit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/oledb32/datainit.c b/dlls/oledb32/datainit.c index 01e8f5c1b57..4beef469a96 100644 --- a/dlls/oledb32/datainit.c +++ b/dlls/oledb32/datainit.c @@ -834,7 +834,7 @@ static int get_propvalue_length(DBPROP *prop) { length = SysStringLen(V_BSTR(&str)); /* Quotes values with '\"' if the value contains semicolons */ - if (wcsstr(V_BSTR(&str), L";")) + if (wcschr(V_BSTR(&str), ';')) length += 2; VariantClear(&str); return length; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/6158