Commit d6e45770 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

SysReAllocString of same pointer returns TRUE.

parent 96f7e66c
......@@ -5105,6 +5105,9 @@ static void test_SysReAllocStringLen(void)
ok (bstr->dwLen == 12, "Expected 12, got %ld\n", bstr->dwLen);
ok (!lstrcmpW(bstr->szString, szLarger), "String different\n");
changed = SysReAllocStringLen(&str, str, 6);
ok (changed == 1, "Expected 1, got %d\n", changed);
SysFreeString(str);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment