Dmitry Kozliuk : winecfg: Fix title reset when removing application from the list.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Dec 16 15:06:06 CST 2014
Module: wine
Branch: master
Commit: b4e261480daa3e371826284d3f792897ddf29be5
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b4e261480daa3e371826284d3f792897ddf29be5
Author: Dmitry Kozliuk <dmitry.kozliuk at gmail.com>
Date: Tue Dec 16 01:42:37 2014 +0300
winecfg: Fix title reset when removing application from the list.
---
programs/winecfg/appdefaults.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/winecfg/appdefaults.c b/programs/winecfg/appdefaults.c
index 7dd3900..66085f4 100644
--- a/programs/winecfg/appdefaults.c
+++ b/programs/winecfg/appdefaults.c
@@ -394,7 +394,7 @@ static void on_remove_app_click(HWND dialog)
item.mask = LVIF_STATE;
item.state = LVIS_SELECTED | LVIS_FOCUSED;
item.stateMask = LVIS_SELECTED | LVIS_FOCUSED;
- SendMessageW(listview, LVM_SETITEMSTATE, -1, (LPARAM)&item);
+ SendMessageW(listview, LVM_SETITEMSTATE, 0, (LPARAM)&item);
SetFocus(listview);
SendMessageW(GetParent(dialog), PSM_CHANGED, (WPARAM) dialog, 0);
More information about the wine-cvs
mailing list