Skip to content
This repository has been archived by the owner on Jan 3, 2025. It is now read-only.

Commit

Permalink
clang format
Browse files Browse the repository at this point in the history
  • Loading branch information
Pizzabelly committed Jul 18, 2018
1 parent 88015af commit 4e74848
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ template <class T> T setVar(T val, config_t *c) {
void config_t::update() {
// open config file
std::ifstream config_file(CONFIG_PATH);
if (config_file.fail()) {
printf("config file not found\n");
Shutdown(1);
}
if (config_file.fail()) {
printf("config file not found\n");
Shutdown(1);
}
// "parse" config file
// this is super specific and is NOT proper ini parsing
// but it works, saves memory and avoids massive dependencies
Expand Down

0 comments on commit 4e74848

Please sign in to comment.