Some small formatting fixes in multiple patches.

This commit is contained in:
Sebastian Lackner
2014-10-17 22:20:23 +02:00
parent 291d4468f7
commit b7668e1d7a
4 changed files with 30 additions and 36 deletions

View File

@@ -35,7 +35,7 @@ index 5bafbf1..45936e8 100644
static LRESULT CALLBACK AtlHost_wndproc( HWND hWnd, UINT wMsg, WPARAM wParam, LPARAM lParam )
{
- IOCS *This = (IOCS*) GetWindowLongPtrW( hWnd, GWLP_USERDATA );
+ IOCS *This = (IOCS*) GetPropA( hWnd, WINE_IOCS_PROPERTY );
+ IOCS *This = (IOCS *)GetPropA( hWnd, WINE_IOCS_PROPERTY );
return IOCS_OnWndProc( This, hWnd, wMsg, wParam, lParam );
}
@@ -53,7 +53,7 @@ index 5bafbf1..45936e8 100644
*host = NULL;
- This = (IOCS*) GetWindowLongPtrW( hWnd, GWLP_USERDATA );
+ This = (IOCS*) GetPropA( hWnd, WINE_IOCS_PROPERTY );
+ This = (IOCS *)GetPropA( hWnd, WINE_IOCS_PROPERTY );
if ( !This )
{
WARN("No container attached to %p\n", hWnd );
@@ -62,7 +62,7 @@ index 5bafbf1..45936e8 100644
*pUnk = NULL;
- This = (IOCS*) GetWindowLongPtrW( hWnd, GWLP_USERDATA );
+ This = (IOCS*) GetPropA ( hWnd, WINE_IOCS_PROPERTY );
+ This = (IOCS *)GetPropA ( hWnd, WINE_IOCS_PROPERTY );
if ( !This || !This->control )
{
WARN("No control attached to %p\n", hWnd );