oledlg: Remove dead assignment (clang).

This commit is contained in:
André Hentschel 2011-07-13 20:35:49 +02:00 committed by Alexandre Julliard
parent b37051d28b
commit f06ab42ab8
1 changed files with 0 additions and 1 deletions

View File

@ -313,7 +313,6 @@ static void update_display_list(HWND hdlg, UINT src_list_id)
SendMessageW(display_list, LB_INSERTSTRING, i, (LPARAM)txt); SendMessageW(display_list, LB_INSERTSTRING, i, (LPARAM)txt);
SendMessageW(display_list, LB_SETITEMDATA, i, item_data); SendMessageW(display_list, LB_SETITEMDATA, i, item_data);
} }
old_pos = max(old_pos, count);
SendMessageW(display_list, LB_SETCURSEL, 0, 0); SendMessageW(display_list, LB_SETCURSEL, 0, 0);
SendMessageW(display_list, WM_SETREDRAW, 1, 0); SendMessageW(display_list, WM_SETREDRAW, 1, 0);
if(GetForegroundWindow() == hdlg) if(GetForegroundWindow() == hdlg)