Gerald Pfeifer : user.exe16: Remove variable width which is not really used from listbox_proc16.
Alexandre Julliard
julliard at winehq.org
Mon May 10 11:59:12 CDT 2010
Module: wine
Branch: master
Commit: cbbfbca9e46f3ee958b6004db13bedb9d1b13fb9
URL: http://source.winehq.org/git/wine.git/?a=commit;h=cbbfbca9e46f3ee958b6004db13bedb9d1b13fb9
Author: Gerald Pfeifer <gerald at pfeifer.com>
Date: Fri May 7 21:44:33 2010 +0200
user.exe16: Remove variable width which is not really used from listbox_proc16.
---
dlls/user.exe16/message.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/user.exe16/message.c b/dlls/user.exe16/message.c
index 547933c..c642e85 100644
--- a/dlls/user.exe16/message.c
+++ b/dlls/user.exe16/message.c
@@ -2403,7 +2403,7 @@ static LRESULT listbox_proc16( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam
if (is_old_app( hwnd ))
{
DWORD style = GetWindowLongW( hwnd, GWL_STYLE );
- int width, height, remaining, item_height;
+ int height, remaining, item_height;
RECT rect;
/* give a margin for error to old 16 bits programs - if we need
@@ -2413,7 +2413,6 @@ static LRESULT listbox_proc16( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam
if (!(style & LBS_NOINTEGRALHEIGHT) && !(style & LBS_OWNERDRAWVARIABLE))
{
GetClientRect( hwnd, &rect );
- width = rect.right - rect.left;
height = rect.bottom - rect.top;
item_height = wow_handlers32.listbox_proc( hwnd, LB_GETITEMHEIGHT, 0, 0, FALSE );
remaining = item_height ? (height % item_height) : 0;
More information about the wine-cvs
mailing list