kernelbase: Fix indentation of LocalReAlloc.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
fc12f812c3
commit
424e38f3f8
|
@ -806,7 +806,7 @@ HLOCAL WINAPI DECLSPEC_HOTPATCH LocalReAlloc( HLOCAL hmem, SIZE_T size, UINT fla
|
|||
*/
|
||||
if (hmem == 0)
|
||||
{
|
||||
WARN( "null handle\n");
|
||||
WARN( "null handle\n" );
|
||||
SetLastError( ERROR_NOACCESS );
|
||||
}
|
||||
else
|
||||
|
@ -846,8 +846,7 @@ HLOCAL WINAPI DECLSPEC_HOTPATCH LocalReAlloc( HLOCAL hmem, SIZE_T size, UINT fla
|
|||
{
|
||||
if (header->ptr)
|
||||
{
|
||||
if ((ptr = HeapReAlloc( GetProcessHeap(), heap_flags,
|
||||
(char *)header->ptr - HLOCAL_STORAGE,
|
||||
if ((ptr = HeapReAlloc( GetProcessHeap(), heap_flags, (char *)header->ptr - HLOCAL_STORAGE,
|
||||
size + HLOCAL_STORAGE )))
|
||||
{
|
||||
header->ptr = (char *)ptr + HLOCAL_STORAGE;
|
||||
|
|
Loading…
Reference in New Issue