mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Obey the Teeworlds code formatting rules.
This commit is contained in:
parent
cb84cf2216
commit
f1038b0092
|
@ -102,7 +102,8 @@ bool CDataFileReader::Open(class IStorage *pStorage, const char *pFilename, int
|
|||
|
||||
// TODO: change this header
|
||||
CDatafileHeader Header;
|
||||
if (sizeof Header != io_read(File, &Header, sizeof(Header))) {
|
||||
if (sizeof(Header) != io_read(File, &Header, sizeof(Header)))
|
||||
{
|
||||
dbg_msg("datafile", "couldn't load header");
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue