mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[WINESYNC] msi: Correct Query for loading an image.
Signed-off-by: Alistair Leslie-Hughes <[email protected]> Signed-off-by: Hans Leidekker <[email protected]> Signed-off-by: Alexandre Julliard <[email protected]> wine commit id 358d4f5a914e574c026380666964fcefb0495517 by Alistair Leslie-Hughes <[email protected]>
This commit is contained in:
@@ -463,7 +463,7 @@ static HANDLE msi_load_image( MSIDATABASE *db, LPCWSTR name, UINT type,
|
||||
|
||||
if (!(tmp = msi_create_temp_file( db ))) return NULL;
|
||||
|
||||
rec = MSI_QueryGetRecord( db, L"SELCT * FROM `Binary` WHERE `Name` = '%s'", name );
|
||||
rec = MSI_QueryGetRecord( db, L"SELECT * FROM `Binary` WHERE `Name` = '%s'", name );
|
||||
if( rec )
|
||||
{
|
||||
r = MSI_RecordStreamToFile( rec, 2, tmp );
|
||||
@@ -962,7 +962,7 @@ static HBITMAP msi_load_picture( MSIDATABASE *db, const WCHAR *name, INT cx, INT
|
||||
BITMAP bm;
|
||||
UINT r;
|
||||
|
||||
rec = MSI_QueryGetRecord( db, L"SELCT * FROM `Binary` WHERE `Name` = '%s'", name );
|
||||
rec = MSI_QueryGetRecord( db, L"SELECT * FROM `Binary` WHERE `Name` = '%s'", name );
|
||||
if (!rec)
|
||||
goto end;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user