Aric Stewart aric@codeweavers.com writes:
@@ -1684,7 +1684,7 @@ UINT WINAPI ImmGetDescriptionA(
HeapFree( GetProcessHeap(), 0, buf );
- return min( len - 1, uBufLen );
}
This may do the right thing on failure, but in an ugly way. A few
overflow tests would be a good idea.
--
Alexandre Julliard
julliard@winehq.org