Spaces to tabs. Removed a comment.

This commit is contained in:
Timo Wiren
2012-03-25 13:01:26 +03:00
parent 11959a3781
commit cb92805445
2 changed files with 2 additions and 2 deletions

View File

@ -427,7 +427,7 @@ void Wiimote::ReadData(const wm_read_data* const rd)
if (address + size > WIIMOTE_EEPROM_SIZE) if (address + size > WIIMOTE_EEPROM_SIZE)
{ {
PanicAlert("ReadData: address + size out of bounds"); PanicAlert("ReadData: address + size out of bounds");
delete [] block; delete [] block;
return; return;
} }
// generate a read error // generate a read error

View File

@ -114,7 +114,7 @@ void TexDecoder_OpenCL_Initialize()
else else
{ {
binary_size = input.GetSize(); binary_size = input.GetSize();
header = new char[HEADER_SIZE]; // TODO: memleak possible header = new char[HEADER_SIZE];
binary = new char[binary_size]; binary = new char[binary_size];
input.ReadBytes(header, HEADER_SIZE); input.ReadBytes(header, HEADER_SIZE);
input.ReadBytes(binary, binary_size); input.ReadBytes(binary, binary_size);