mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 03:30:58 +00:00
ieframe: Don't open code CONTAINING_RECORD().
This commit is contained in:
parent
e0f763abf9
commit
c955f03886
|
@ -77,7 +77,7 @@ static inline InternetShortcut* impl_from_IPersistFile(IPersistFile *iface)
|
|||
|
||||
static inline InternetShortcut* impl_from_IPropertySetStorage(IPropertySetStorage *iface)
|
||||
{
|
||||
return (InternetShortcut*)((char*)iface - FIELD_OFFSET(InternetShortcut, IPropertySetStorage_iface));
|
||||
return CONTAINING_RECORD(iface, InternetShortcut, IPropertySetStorage_iface);
|
||||
}
|
||||
|
||||
static BOOL run_winemenubuilder( const WCHAR *args )
|
||||
|
|
Loading…
Reference in a new issue