Updated sfPacket_CanRead in CSFML

This commit is contained in:
Laurent Gomila 2011-05-26 07:47:58 +02:00
parent 94ab420dd3
commit 7bf0bdf161

View File

@ -139,7 +139,8 @@ sfBool sfPacket_EndOfPacket(const sfPacket* packet)
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
sfBool sfPacket_CanRead(const sfPacket* packet) sfBool sfPacket_CanRead(const sfPacket* packet)
{ {
CSFML_CALL_RETURN(packet, operator bool(), sfFalse); CSFML_CHECK_RETURN(packet, sfFalse);
return packet->This ? sfTrue : sfFalse;
} }