Fixed to use tabs not spaces.

This commit is contained in:
Xnoe 2020-07-09 21:54:22 +01:00 committed by Elsie
parent 7224dd8010
commit 6f83f458ca

View File

@ -10,11 +10,11 @@ const int MAX_FILE_SIZE = 65536;
string32 readfile(const char* name) { string32 readfile(const char* name) {
std::fstream file_stream; std::fstream file_stream;
file_stream.open(name); file_stream.open(name);
char* data = new char [MAX_FILE_SIZE]; char* data = new char [MAX_FILE_SIZE];
int count(0); int count(0);
while (file_stream) while (file_stream)
data[count++] = file_stream.get(); data[count++] = file_stream.get();
file_stream.close(); file_stream.close();
data[--count] = 0; data[--count] = 0;