https://git.reactos.org/?p=reactos.git;a=commitdiff;h=9ad17dd7b2735334ccda7…
commit 9ad17dd7b2735334ccda779203a56e87db155276
Author: winesync <ros-dev(a)reactos.org>
AuthorDate: Sun Mar 13 21:40:10 2022 +0100
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Sun Mar 20 19:28:36 2022 +0100
[WINESYNC] msi: Correct Query for loading an image.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com>
Signed-off-by: Hans Leidekker <hans(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
wine commit id 358d4f5a914e574c026380666964fcefb0495517 by Alistair Leslie-Hughes
<leslie_alistair(a)hotmail.com>
---
dll/win32/msi/dialog.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dll/win32/msi/dialog.c b/dll/win32/msi/dialog.c
index 18a92e6fb9b..bc0c0fa3290 100644
--- a/dll/win32/msi/dialog.c
+++ b/dll/win32/msi/dialog.c
@@ -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;