diff options
| author | danlark <[email protected]> | 2022-02-10 16:46:08 +0300 | 
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:46:08 +0300 | 
| commit | 3426a9bc7f169ae9da54cef557ad2a33f6e8eee0 (patch) | |
| tree | 26154e1e9990f1bb4525d3e3fb5b6dac2c2c1da2 /tools/rescompressor | |
| parent | cb68f224c46a8ee52ac3fdd2a32534b8bb8dc134 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'tools/rescompressor')
| -rw-r--r-- | tools/rescompressor/main.cpp | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/rescompressor/main.cpp b/tools/rescompressor/main.cpp index 9aba1002c5d..1dfad1fe28d 100644 --- a/tools/rescompressor/main.cpp +++ b/tools/rescompressor/main.cpp @@ -51,17 +51,17 @@ private:      void WriteIncBin(TStringBuf constname, TStringBuf filename, const TString& data) {          AsmOut << AsmPrefix << constname << ":\nincbin \"" << Basename(filename) << "\"\n";          AsmOut << ".end:\n"; -        TFixedBufferFileOutput out(filename.data()); +        TFixedBufferFileOutput out(filename.data());           out << data;      }      void WriteRaw(TStringBuf constname, const TString& data) {          AsmOut << AsmPrefix << constname << ":\ndb "; -        for (size_t i = 0; i < data.size() - 1; i++) { +        for (size_t i = 0; i < data.size() - 1; i++) {               unsigned char c = static_cast<unsigned char>(data[i]);              AsmOut << IntToString<10, unsigned char>(c) << ",";          } -        AsmOut << IntToString<10, unsigned char>(static_cast<unsigned char>(data[data.size() - 1])) << "\n"; +        AsmOut << IntToString<10, unsigned char>(static_cast<unsigned char>(data[data.size() - 1])) << "\n";           AsmOut << ".end:\n";      } @@ -131,7 +131,7 @@ int main(int argc, char** argv) {          else {              TUnbufferedFileInput inp(argv[ind]);              TString data = inp.ReadAll(); -            compressed = Compress(TStringBuf(data.data(), data.size())); +            compressed = Compress(TStringBuf(data.data(), data.size()));               raw = false;          }          ind++;  | 
