From a0461ffc1e73b251dd83d6b59bd5ce8df5529f22 Mon Sep 17 00:00:00 2001 From: aleos89 Date: Tue, 23 Jul 2019 10:45:11 -0400 Subject: [PATCH] Another cleanup --- src/tool/mapcache.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tool/mapcache.cpp b/src/tool/mapcache.cpp index 6453b3f52c..d174346fae 100644 --- a/src/tool/mapcache.cpp +++ b/src/tool/mapcache.cpp @@ -206,7 +206,7 @@ int do_init(int argc, char** argv) // Attempt to open the map cache file and force rebuild if not found ShowStatus("Opening map cache: %s\n", map_cache_file.c_str()); - if (!rebuild) { + if(!rebuild) { map_cache_fp = fopen(map_cache_file.c_str(), "rb"); if(map_cache_fp == NULL) { ShowNotice("Existing map cache not found, forcing rebuild mode\n"); @@ -238,7 +238,7 @@ int do_init(int argc, char** argv) } // Initialize the main header - if(rebuild) { + if (rebuild) { header.file_size = sizeof(struct main_header); header.map_count = 0; } else {