Francois Gouget : msado15: Fix the name of the command_text variable.

Alexandre Julliard julliard at winehq.org
Tue Mar 2 15:35:59 CST 2021


Module: wine
Branch: master
Commit: d4631ba675c42975f98f99cb0b9473fbc29008f8
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=d4631ba675c42975f98f99cb0b9473fbc29008f8

Author: Francois Gouget <fgouget at free.fr>
Date:   Tue Mar  2 20:11:05 2021 +0100

msado15: Fix the name of the command_text variable.

Signed-off-by: Francois Gouget <fgouget at free.fr>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/msado15/connection.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/msado15/connection.c b/dlls/msado15/connection.c
index 80297dcdc16..a3c9a450be6 100644
--- a/dlls/msado15/connection.c
+++ b/dlls/msado15/connection.c
@@ -339,7 +339,7 @@ static HRESULT WINAPI connection_Execute( _Connection *iface, BSTR command, VARI
 {
     struct connection *connection = impl_from_Connection( iface );
     HRESULT hr;
-    ICommandText *comand_text;
+    ICommandText *command_text;
     DBROWCOUNT affected;
     IUnknown *rowset;
     _Recordset *recordset;
@@ -349,12 +349,12 @@ static HRESULT WINAPI connection_Execute( _Connection *iface, BSTR command, VARI
 
     if (connection->state == adStateClosed) return MAKE_ADO_HRESULT( adErrObjectClosed );
 
-    hr = create_command_text(connection->session, command, &comand_text);
+    hr = create_command_text(connection->session, command, &command_text);
     if (FAILED(hr))
         return hr;
 
-    hr = ICommandText_Execute(comand_text, NULL, &IID_IUnknown, NULL, &affected, &rowset);
-    ICommandText_Release(comand_text);
+    hr = ICommandText_Execute(command_text, NULL, &IID_IUnknown, NULL, &affected, &rowset);
+    ICommandText_Release(command_text);
     if (FAILED(hr))
         return hr;
 




More information about the wine-cvs mailing list