mirror of
https://github.com/reactos/reactos.git
synced 2024-06-28 00:41:36 +00:00
[WINESYNC] msi: Remove an unnecessary call to SELECT_get_dimensions().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org> wine commit id 7728acd1b6994c553a046e3ff9ee1aebc20c38b6 by Zebediah Figura <z.figura12@gmail.com>
This commit is contained in:
parent
f6659d1de9
commit
01a3611583
|
@ -233,14 +233,10 @@ static UINT SELECT_get_column_info( struct tagMSIVIEW *view, UINT n, LPCWSTR *na
|
|||
static UINT msi_select_update(struct tagMSIVIEW *view, MSIRECORD *rec, UINT row)
|
||||
{
|
||||
MSISELECTVIEW *sv = (MSISELECTVIEW*)view;
|
||||
UINT r, i, num_columns, col, type, val;
|
||||
UINT r, i, col, type, val;
|
||||
LPCWSTR str;
|
||||
|
||||
r = SELECT_get_dimensions(view, NULL, &num_columns);
|
||||
if (r != ERROR_SUCCESS)
|
||||
return r;
|
||||
|
||||
for (i = 0; i < num_columns; i++)
|
||||
for (i = 0; i < sv->num_cols; i++)
|
||||
{
|
||||
col = sv->cols[i];
|
||||
|
||||
|
|
Loading…
Reference in a new issue