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:
Stefan Csomor
2011-06-08 23:00:36 +00:00
parent 3dc3b2ab56
commit c9e98a88db

View File

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