Skip to content

Commit

Permalink
Fix indentation tabs->spaces
Browse files Browse the repository at this point in the history
Linter complains about this stuff depending on tab width because we don't force {}.
Could've caught that before merging; see blame for this for actual author.
  • Loading branch information
black-sliver committed Sep 3, 2024
1 parent 8f51c4b commit 92d8519
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/poptracker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ PopTracker::PopTracker(int argc, char** argv, bool cli, const json& args)
_config["log"] = false;
if (_config["software_renderer"].type() != json::value_t::boolean)
_config["software_renderer"] = false;
if (_config["enable_screensaver"].type() != json::value_t::boolean)
if (_config["enable_screensaver"].type() != json::value_t::boolean)
_config["enable_screensaver"] = true;

if (!cli) {
Expand Down Expand Up @@ -519,8 +519,8 @@ bool PopTracker::start()
SDL_FreeSurface(icon);

// SDL2 default is to disable screensaver, enable it if preferred
if (_config.value<bool>("enable_screensaver", true))
SDL_EnableScreenSaver();
if (_config.value<bool>("enable_screensaver", true))
SDL_EnableScreenSaver();

// set user preferences for visibility of uncleared and unreachable locations
auto itHideCleared = _config.find("hide_cleared_locations");
Expand Down

0 comments on commit 92d8519

Please sign in to comment.