mirror of
https://github.com/reactos/reactos.git
synced 2025-02-28 19:32:59 +00:00
* Addendum to r58018. Altered the wrong function. Also: "Should be sent to Wine (TM)" ;)
svn path=/trunk/; revision=58019
This commit is contained in:
parent
69f9dc84ad
commit
dcb9fa5856
1 changed files with 2 additions and 2 deletions
|
@ -1448,7 +1448,7 @@ DWORD WINAPI SetupGetFileCompressionInfoA( PCSTR source, PSTR *name, PDWORD sour
|
|||
return ERROR_INVALID_PARAMETER;
|
||||
|
||||
ret = SetupGetFileCompressionInfoExA( source, NULL, 0, &required, NULL, NULL, NULL );
|
||||
if (!(actual_name = MyMalloc( required*sizeof(WCHAR) ))) return ERROR_NOT_ENOUGH_MEMORY;
|
||||
if (!(actual_name = MyMalloc( required ))) return ERROR_NOT_ENOUGH_MEMORY;
|
||||
|
||||
ret = SetupGetFileCompressionInfoExA( source, actual_name, required, &required,
|
||||
source_size, target_size, type );
|
||||
|
@ -1491,7 +1491,7 @@ DWORD WINAPI SetupGetFileCompressionInfoW( PCWSTR source, PWSTR *name, PDWORD so
|
|||
return ERROR_INVALID_PARAMETER;
|
||||
|
||||
ret = SetupGetFileCompressionInfoExW( source, NULL, 0, &required, NULL, NULL, NULL );
|
||||
if (!(actual_name = MyMalloc( required ))) return ERROR_NOT_ENOUGH_MEMORY;
|
||||
if (!(actual_name = MyMalloc( required*sizeof(WCHAR) ))) return ERROR_NOT_ENOUGH_MEMORY;
|
||||
|
||||
ret = SetupGetFileCompressionInfoExW( source, actual_name, required, &required,
|
||||
source_size, target_size, type );
|
||||
|
|
Loading…
Reference in a new issue