[PATCH] shell32: missing break in IDOK case

Marcus Meissner marcus at jet.franken.de
Fri Mar 18 16:36:10 CDT 2011


Hi,

Added return TRUE; otherwise we call EndDialog twice.
CID 1632

CIao, Marcus
---
 dlls/shell32/dialogs.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/shell32/dialogs.c b/dlls/shell32/dialogs.c
index 8bc8062..84d8799 100644
--- a/dlls/shell32/dialogs.c
+++ b/dlls/shell32/dialogs.c
@@ -247,6 +247,7 @@ static INT_PTR CALLBACK RunDlgProc (HWND hwnd, UINT message, WPARAM wParam, LPAR
                         EndDialog (hwnd, 0);
                         }
                     }
+                    return TRUE;
 
                 case IDCANCEL :
                     EndDialog (hwnd, 0) ;
-- 
1.7.3.4



More information about the wine-patches mailing list