From: Semenov Herman (Семенов Герман)GermanAizek@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;