making intention clearer by explicit parentheses
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -534,7 +534,7 @@ bool wxDataObject::HasDataInPasteboard( void * pb )
|
||||
wxDataFormat flavorFormat( (wxDataFormat::NativeFormat) flavorType );
|
||||
|
||||
if ( dataFormat == flavorFormat ||
|
||||
dataFormat.GetType() == wxDF_UNICODETEXT && flavorFormat.GetType() == wxDF_TEXT )
|
||||
(dataFormat.GetType() == wxDF_UNICODETEXT && flavorFormat.GetType() == wxDF_TEXT) )
|
||||
{
|
||||
hasData = true;
|
||||
}
|
||||
@@ -742,8 +742,8 @@ bool wxBitmapDataObject::SetData( size_t nSize, const void *pBuf )
|
||||
if ( source )
|
||||
{
|
||||
cgImageRef = CGImageSourceCreateImageAtIndex(source, 0, NULL);
|
||||
CFRelease( source );
|
||||
}
|
||||
CFRelease( source );
|
||||
CFRelease( data );
|
||||
|
||||
if ( cgImageRef )
|
||||
|
Reference in New Issue
Block a user