Skip to content

Commit

Permalink
remove spacing in output file
Browse files Browse the repository at this point in the history
  • Loading branch information
GH-Rake committed Jun 5, 2020
1 parent b96d4dd commit 63b1437
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -327,3 +327,5 @@ ASALocalRun/
.mfractor/
*.CT
/csgo - notes.h
/.vs/GH-Offset-Dumper/v16/Browse.VC.db-shm
/.vs/GH-Offset-Dumper/v16/Browse.VC.db-wal
6 changes: 3 additions & 3 deletions SrcDumper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,21 +133,21 @@ void SrcDumper::GenerateHeaderOuput()

file << "namespace offsets\n{\n";

file << "\n//signatures\n\n";
file << "//signatures\n";

for (auto s : signatures)
{
file << "constexpr ptrdiff_t " << s.name << " = 0x" << std::uppercase << std::hex << s.result << ";\n";
}

file << "\n//netvars\n\n";
file << "\n//netvars\n";

for (auto n : Netvars)
{
file << "constexpr ptrdiff_t " << n.name << " = 0x" << std::uppercase << std::hex << n.result << ";\n";
}

file << "\n}\n";
file << "}";

file.close();
}
Expand Down

0 comments on commit 63b1437

Please sign in to comment.