diff options
| author | Anghelo Carvajal <angheloalf95@gmail.com> | 2021-05-06 08:53:42 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-06 08:53:42 -0400 |
| commit | bd4735480a2e6b53585a4f764ae13804e0737a21 (patch) | |
| tree | 52d2255734db8cbb8b36b334a79f41fc612d40ed /ZAPD/Main.cpp | |
| parent | ae468e0c343a37bb055fd495df49e6ca4885bd8f (diff) | |
Add a `format` rule to Makefile (#134)
* Add format rule to makefile
* run format
Diffstat (limited to 'ZAPD/Main.cpp')
| -rw-r--r-- | ZAPD/Main.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ZAPD/Main.cpp b/ZAPD/Main.cpp index e33209f..16e5960 100644 --- a/ZAPD/Main.cpp +++ b/ZAPD/Main.cpp @@ -182,8 +182,9 @@ int main(int argc, char* argv[]) Globals::Instance->texType = ZTexture::GetTextureTypeFromString(argv[i + 1]); i++; } - else if (arg == "-cfg") // Set cfg path (for overlays) - // TODO: Change the name of this to something else so it doesn't get confused with XML config files. + else if (arg == "-cfg") // Set cfg path (for overlays) + // TODO: Change the name of this to something else so it doesn't + // get confused with XML config files. { Globals::Instance->cfgPath = argv[i + 1]; i++; @@ -256,7 +257,8 @@ int main(int argc, char* argv[]) Path::GetDirectoryName(Globals::Instance->cfgPath.string())); if (overlay) - File::WriteAllText(Globals::Instance->outputPath.string(), overlay->GetSourceOutputCode("")); + File::WriteAllText(Globals::Instance->outputPath.string(), + overlay->GetSourceOutputCode("")); } } catch (std::runtime_error& e) |
