diff options
Diffstat (limited to 'crawl-ref/source/files.cc')
-rw-r--r-- | crawl-ref/source/files.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/crawl-ref/source/files.cc b/crawl-ref/source/files.cc index 020fd0a31c..7b7211adce 100644 --- a/crawl-ref/source/files.cc +++ b/crawl-ref/source/files.cc @@ -1306,8 +1306,10 @@ void save_game(bool leave_game, const char *farewellmsg) snprintf( cmd_buff, sizeof(cmd_buff), SAVE_PACKAGE_CMD, basename.c_str(), basename.c_str() ); - if (system( cmd_buff ) != 0) { - cprintf( EOL "Warning: Zip command (SAVE_PACKAGE_CMD) returned non-zero value!" EOL ); + if (system( cmd_buff ) != 0) + { + cprintf( EOL "Warning: Zip command (SAVE_PACKAGE_CMD) returned" + "non-zero value!" EOL ); } DO_CHMOD_PRIVATE ( (basename + PACKAGE_SUFFIX).c_str() ); #endif @@ -1627,11 +1629,9 @@ static void restore_tagged_file( FILE *restoreFile, int fileType, } // go through and init missing tags - for (int i=0; i<NUM_TAGS; i++) - { + for (int i = 0; i < NUM_TAGS; i++) if (tags[i] == 1) // expected but never read tag_missing(i, minorVersion); - } } static bool determine_level_version( FILE *levelFile, |