Skip to content

Commit

Permalink
Fix #2542. Also update copyright year. (#2585)
Browse files Browse the repository at this point in the history
* Fix #2542.  Also update copyright year.

* Update header
  • Loading branch information
qwertychouskie authored and auriamg committed Jul 27, 2016
1 parent bc5e2f3 commit 277a4b9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/config/user_config.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// SuperTuxKart - a fun racing game with go-kart
// Copyright (C) 2006-2015 SuperTuxKart-Team
// Modelled after Supertux's configfile.cpp
// SuperTuxKart - A racing game
// Copyright (C) 2006-2016 SuperTuxKart Team
// Modeled after Supertux's configfile.cpp
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
Expand Down Expand Up @@ -683,8 +683,8 @@ bool UserConfig::loadConfig()
XMLNode* root = file_manager->createXMLTree(filename);
if(!root || root->getName() != "stkconfig")
{
Log::error("UserConfig",
"Could not read user config file '%s'.", filename.c_str());
Log::info("UserConfig",
"Could not read user config file '%s'. A new file will be created.", filename.c_str());
if(root) delete root;
// Create a default config file - just in case that stk crashes later
// there is a config file that can be modified (to e.g. disable
Expand Down

0 comments on commit 277a4b9

Please sign in to comment.