[PATCH 8/14] winex11.drv: remove window validity check
Pierre d'Herbemont
pdherbemont at free.fr
Sun Jan 21 17:36:13 CST 2007
---
dlls/winex11.drv/window.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
-------------- next part --------------
diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c
index 493983b..a15f7ca 100644
--- a/dlls/winex11.drv/window.c
+++ b/dlls/winex11.drv/window.c
@@ -1032,8 +1032,6 @@ BOOL X11DRV_CreateWindow( HWND hwnd, CRE
/* get class or window DC if needed */
alloc_window_dce( data );
- /* make sure the window is still valid */
- if (!(data = X11DRV_get_win_data( hwnd ))) return FALSE;
if (data->whole_window) X11DRV_sync_window_style( display, data );
/* send WM_NCCALCSIZE */
More information about the wine-patches
mailing list