From 6f83f458ca0157e360239151fa826484763b0ddf Mon Sep 17 00:00:00 2001 From: Xnoe Date: Thu, 9 Jul 2020 21:54:22 +0100 Subject: [PATCH] Fixed to use tabs not spaces. --- main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.cpp b/main.cpp index fc0a3d4..90f982c 100644 --- a/main.cpp +++ b/main.cpp @@ -10,11 +10,11 @@ const int MAX_FILE_SIZE = 65536; string32 readfile(const char* name) { std::fstream file_stream; - file_stream.open(name); + file_stream.open(name); - char* data = new char [MAX_FILE_SIZE]; - int count(0); - while (file_stream) + char* data = new char [MAX_FILE_SIZE]; + int count(0); + while (file_stream) data[count++] = file_stream.get(); file_stream.close(); data[--count] = 0;