ieframe: Don't open code CONTAINING_RECORD().

oldstable
Michael Stefaniuc 2011-09-25 23:33:28 +02:00 committed by Alexandre Julliard
parent e0f763abf9
commit c955f03886
1 changed files with 1 additions and 1 deletions

View File

@ -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 )