summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/checkutils.cpp2
-rw-r--r--src/utils/checkutils.h2
-rw-r--r--src/utils/copynpaste.cpp2
-rw-r--r--src/utils/copynpaste.h2
-rw-r--r--src/utils/cpu.cpp2
-rw-r--r--src/utils/cpu.h2
-rw-r--r--src/utils/dtor.h2
-rw-r--r--src/utils/files.cpp39
-rw-r--r--src/utils/files.h5
-rw-r--r--src/utils/fuzzer.cpp2
-rw-r--r--src/utils/fuzzer.h2
-rw-r--r--src/utils/gettext.h2
-rw-r--r--src/utils/langs.cpp2
-rw-r--r--src/utils/langs.h2
-rw-r--r--src/utils/mathutils.h2
-rw-r--r--src/utils/mkdir.cpp2
-rw-r--r--src/utils/mkdir.h2
-rw-r--r--src/utils/mutex.h2
-rw-r--r--src/utils/paths.cpp2
-rw-r--r--src/utils/paths.h2
-rw-r--r--src/utils/perfomance.cpp2
-rw-r--r--src/utils/perfomance.h2
-rw-r--r--src/utils/physfscheckutils.cpp2
-rw-r--r--src/utils/physfscheckutils.h2
-rw-r--r--src/utils/physfsrwops.cpp2
-rw-r--r--src/utils/physfsrwops.h2
-rw-r--r--src/utils/physfstools.cpp8
-rw-r--r--src/utils/physfstools.h2
-rw-r--r--src/utils/process.cpp2
-rw-r--r--src/utils/process.h2
-rw-r--r--src/utils/sdl2helper.cpp2
-rw-r--r--src/utils/sdl2helper.h2
-rw-r--r--src/utils/sdlcheckutils.cpp2
-rw-r--r--src/utils/sdlcheckutils.h2
-rw-r--r--src/utils/sdlhelper.cpp2
-rw-r--r--src/utils/sdlhelper.h2
-rw-r--r--src/utils/specialfolder.cpp2
-rw-r--r--src/utils/specialfolder.h2
-rw-r--r--src/utils/stringutils.cpp2
-rw-r--r--src/utils/stringutils.h2
-rw-r--r--src/utils/stringvector.h2
-rw-r--r--src/utils/timer.cpp2
-rw-r--r--src/utils/timer.h2
-rw-r--r--src/utils/translation/podict.cpp2
-rw-r--r--src/utils/translation/podict.h2
-rw-r--r--src/utils/translation/poparser.cpp2
-rw-r--r--src/utils/translation/poparser.h2
-rw-r--r--src/utils/translation/translationmanager.cpp2
-rw-r--r--src/utils/translation/translationmanager.h2
-rw-r--r--src/utils/xml.cpp2
-rw-r--r--src/utils/xml.h2
51 files changed, 96 insertions, 52 deletions
diff --git a/src/utils/checkutils.cpp b/src/utils/checkutils.cpp
index d2eb01488..ac49e3534 100644
--- a/src/utils/checkutils.cpp
+++ b/src/utils/checkutils.cpp
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2012-2013 The ManaPlus Developers
+ * Copyright (C) 2012-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/checkutils.h b/src/utils/checkutils.h
index ed21bda0a..ea01c09d4 100644
--- a/src/utils/checkutils.h
+++ b/src/utils/checkutils.h
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2012-2013 The ManaPlus Developers
+ * Copyright (C) 2012-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/copynpaste.cpp b/src/utils/copynpaste.cpp
index 20af28454..4e4f3c183 100644
--- a/src/utils/copynpaste.cpp
+++ b/src/utils/copynpaste.cpp
@@ -1,7 +1,7 @@
/*
* Retrieve string pasted depending on OS mechanisms.
* Copyright (C) 2001-2010 Wormux Team
- * Copyright (C) 2011-2013 The ManaPlus Developers
+ * Copyright (C) 2011-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/copynpaste.h b/src/utils/copynpaste.h
index 1a6069267..67cb11357 100644
--- a/src/utils/copynpaste.h
+++ b/src/utils/copynpaste.h
@@ -1,7 +1,7 @@
/*
* Retrieve string pasted depending on OS mechanisms.
* Copyright (C) 2001-2010 Wormux Team
- * Copyright (C) 2011-2013 The ManaPlus Developers
+ * Copyright (C) 2011-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/cpu.cpp b/src/utils/cpu.cpp
index 6dfd5a98c..c48b25ddd 100644
--- a/src/utils/cpu.cpp
+++ b/src/utils/cpu.cpp
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2013 The ManaPlus Developers
+ * Copyright (C) 2013-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/cpu.h b/src/utils/cpu.h
index 01e29d705..57d28dd89 100644
--- a/src/utils/cpu.h
+++ b/src/utils/cpu.h
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2013 The ManaPlus Developers
+ * Copyright (C) 2013-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/dtor.h b/src/utils/dtor.h
index d1bdd8777..c14ec41f6 100644
--- a/src/utils/dtor.h
+++ b/src/utils/dtor.h
@@ -2,7 +2,7 @@
* The ManaPlus Client
* Copyright (C) 2004-2009 The Mana World Development Team
* Copyright (C) 2009-2010 The Mana Developers
- * Copyright (C) 2011-2013 The ManaPlus Developers
+ * Copyright (C) 2011-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/files.cpp b/src/utils/files.cpp
index cb43ff5df..206a4d4bd 100644
--- a/src/utils/files.cpp
+++ b/src/utils/files.cpp
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2013 The ManaPlus Developers
+ * Copyright (C) 2013-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
@@ -126,6 +126,7 @@ void Files::extractZip(const std::string &restrict zipName,
int Files::renameFile(const std::string &restrict srcName,
const std::string &restrict dstName)
{
+#if defined __native_client__
FILE *srcFile = fopen(srcName.c_str(), "rb");
if (srcFile == nullptr)
return -1;
@@ -158,4 +159,40 @@ int Files::renameFile(const std::string &restrict srcName,
return 0;
return -1;
+#else
+ return ::rename(srcName.c_str(), dstName.c_str());
+#endif
+}
+
+int Files::copyFile(const std::string &restrict srcName,
+ const std::string &restrict dstName)
+{
+ FILE *srcFile = fopen(srcName.c_str(), "rb");
+ if (srcFile == nullptr)
+ return -1;
+ FILE *dstFile = fopen(dstName.c_str(), "w+b");
+ if (dstFile == nullptr)
+ {
+ fclose(srcFile);
+ return -1;
+ }
+
+ const int chunkSize = 500000;
+ char *buf = new char[chunkSize];
+ size_t sz = 0;
+ while ((sz = fread(buf, 1, chunkSize, srcFile)))
+ {
+ if (fwrite(buf, 1, sz, dstFile) != sz)
+ {
+ delete [] buf;
+ fclose(srcFile);
+ fclose(dstFile);
+ return -1;
+ }
+ }
+
+ delete [] buf;
+ fclose(srcFile);
+ fclose(dstFile);
+ return 0;
}
diff --git a/src/utils/files.h b/src/utils/files.h
index 5eb29031e..cc578464a 100644
--- a/src/utils/files.h
+++ b/src/utils/files.h
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2013 The ManaPlus Developers
+ * Copyright (C) 2013-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
@@ -49,6 +49,9 @@ namespace Files
int renameFile(const std::string &restrict pFrom,
const std::string &restrict pTo);
+
+ int copyFile(const std::string &restrict pFrom,
+ const std::string &restrict pTo);
} // namespace Files
#endif // UTILS_FILES_H
diff --git a/src/utils/fuzzer.cpp b/src/utils/fuzzer.cpp
index 42468d6b0..6d76b1329 100644
--- a/src/utils/fuzzer.cpp
+++ b/src/utils/fuzzer.cpp
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2013 The ManaPlus Developers
+ * Copyright (C) 2013-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/fuzzer.h b/src/utils/fuzzer.h
index 91193901d..95c9e3999 100644
--- a/src/utils/fuzzer.h
+++ b/src/utils/fuzzer.h
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2013 The ManaPlus Developers
+ * Copyright (C) 2013-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/gettext.h b/src/utils/gettext.h
index a00e44898..5acf1596a 100644
--- a/src/utils/gettext.h
+++ b/src/utils/gettext.h
@@ -2,7 +2,7 @@
* The ManaPlus Client
* Copyright (C) 2007-2009 The Mana World Development Team
* Copyright (C) 2009-2010 The Mana Developers
- * Copyright (C) 2011-2013 The ManaPlus Developers
+ * Copyright (C) 2011-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/langs.cpp b/src/utils/langs.cpp
index e7a72a692..af05649a9 100644
--- a/src/utils/langs.cpp
+++ b/src/utils/langs.cpp
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2011-2013 The ManaPlus Developers
+ * Copyright (C) 2011-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/langs.h b/src/utils/langs.h
index 608ae7d05..bbc9e546f 100644
--- a/src/utils/langs.h
+++ b/src/utils/langs.h
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2011-2013 The ManaPlus Developers
+ * Copyright (C) 2011-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/mathutils.h b/src/utils/mathutils.h
index 01078baf3..545a1cc4b 100644
--- a/src/utils/mathutils.h
+++ b/src/utils/mathutils.h
@@ -2,7 +2,7 @@
* The ManaPlus Client
* Copyright (C) 2009 The Mana World Development Team
* Copyright (C) 2009-2010 The Mana Developers
- * Copyright (C) 2011-2013 The ManaPlus Developers
+ * Copyright (C) 2011-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/mkdir.cpp b/src/utils/mkdir.cpp
index 3108d1afa..045556f2b 100644
--- a/src/utils/mkdir.cpp
+++ b/src/utils/mkdir.cpp
@@ -1,7 +1,7 @@
/*
* The ManaPlus Client
* Copyright (C) 2010 The Mana Developers
- * Copyright (C) 2011-2013 The ManaPlus Developers
+ * Copyright (C) 2011-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/mkdir.h b/src/utils/mkdir.h
index 591f2ca95..2eb1c361d 100644
--- a/src/utils/mkdir.h
+++ b/src/utils/mkdir.h
@@ -1,7 +1,7 @@
/*
* The ManaPlus Client
* Copyright (C) 2010 The Mana Developers
- * Copyright (C) 2011-2013 The ManaPlus Developers
+ * Copyright (C) 2011-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/mutex.h b/src/utils/mutex.h
index 70e5fa54d..4c207bad7 100644
--- a/src/utils/mutex.h
+++ b/src/utils/mutex.h
@@ -2,7 +2,7 @@
* The ManaPlus Client
* Copyright (C) 2008-2009 The Mana World Development Team
* Copyright (C) 2009-2010 The Mana Developers
- * Copyright (C) 2011-2013 The ManaPlus Developers
+ * Copyright (C) 2011-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/paths.cpp b/src/utils/paths.cpp
index e02fcc23c..4599efb16 100644
--- a/src/utils/paths.cpp
+++ b/src/utils/paths.cpp
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2011-2013 The ManaPlus Developers
+ * Copyright (C) 2011-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/paths.h b/src/utils/paths.h
index cb0af64ad..8ed1fd3d9 100644
--- a/src/utils/paths.h
+++ b/src/utils/paths.h
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2011-2013 The ManaPlus Developers
+ * Copyright (C) 2011-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/perfomance.cpp b/src/utils/perfomance.cpp
index b0deea95c..93d09cb40 100644
--- a/src/utils/perfomance.cpp
+++ b/src/utils/perfomance.cpp
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2012-2013 The ManaPlus Developers
+ * Copyright (C) 2012-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/perfomance.h b/src/utils/perfomance.h
index f668988f3..c88859730 100644
--- a/src/utils/perfomance.h
+++ b/src/utils/perfomance.h
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2012-2013 The ManaPlus Developers
+ * Copyright (C) 2012-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/physfscheckutils.cpp b/src/utils/physfscheckutils.cpp
index 6b443dc65..103726e19 100644
--- a/src/utils/physfscheckutils.cpp
+++ b/src/utils/physfscheckutils.cpp
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2013 The ManaPlus Developers
+ * Copyright (C) 2013-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/physfscheckutils.h b/src/utils/physfscheckutils.h
index df14fe093..4940591c5 100644
--- a/src/utils/physfscheckutils.h
+++ b/src/utils/physfscheckutils.h
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2013 The ManaPlus Developers
+ * Copyright (C) 2013-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/physfsrwops.cpp b/src/utils/physfsrwops.cpp
index fc0020433..0faab8f20 100644
--- a/src/utils/physfsrwops.cpp
+++ b/src/utils/physfsrwops.cpp
@@ -19,7 +19,7 @@
*
* This file was written by Ryan C. Gordon. (icculus@icculus.org).
*
- * Copyright (C) 2012-2013 The ManaPlus Developers
+ * Copyright (C) 2012-2014 The ManaPlus Developers
*/
#include "utils/physfsrwops.h"
diff --git a/src/utils/physfsrwops.h b/src/utils/physfsrwops.h
index 11b44a185..7c829d9f2 100644
--- a/src/utils/physfsrwops.h
+++ b/src/utils/physfsrwops.h
@@ -19,7 +19,7 @@
*
* This file was written by Ryan C. Gordon. (icculus@icculus.org).
*
- * Copyright (C) 2012-2013 The ManaPlus Developers
+ * Copyright (C) 2012-2014 The ManaPlus Developers
*/
#ifndef UTILS_PHYSFSRWOPS_H
diff --git a/src/utils/physfstools.cpp b/src/utils/physfstools.cpp
index 325f7cddc..8e04aa608 100644
--- a/src/utils/physfstools.cpp
+++ b/src/utils/physfstools.cpp
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2013 The ManaPlus Developers
+ * Copyright (C) 2013-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
@@ -33,13 +33,17 @@ const char *dirSeparator = nullptr;
namespace PhysFs
{
+#if defined(__native_client__)
void init(const char *const name)
{
-#if defined(__native_client__)
if (!PHYSFS_init("/fakebinary"))
#elif defined(ANDROID)
+ void init(const char *const name A_UNUSED)
+ {
if (!PHYSFS_init((getRealPath(".").append("/fakebinary")).c_str()))
#else
+ void init(const char *const name)
+ {
if (!PHYSFS_init(name))
#endif
{
diff --git a/src/utils/physfstools.h b/src/utils/physfstools.h
index fd760f287..3667f7a16 100644
--- a/src/utils/physfstools.h
+++ b/src/utils/physfstools.h
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2013 The ManaPlus Developers
+ * Copyright (C) 2013-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/process.cpp b/src/utils/process.cpp
index 1bd8430b5..bb7488e33 100644
--- a/src/utils/process.cpp
+++ b/src/utils/process.cpp
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2011-2013 The ManaPlus Developers
+ * Copyright (C) 2011-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/process.h b/src/utils/process.h
index 1652dcce0..4604c4100 100644
--- a/src/utils/process.h
+++ b/src/utils/process.h
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2011-2013 The ManaPlus Developers
+ * Copyright (C) 2011-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/sdl2helper.cpp b/src/utils/sdl2helper.cpp
index ff50e29c8..22c57116c 100644
--- a/src/utils/sdl2helper.cpp
+++ b/src/utils/sdl2helper.cpp
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2013 The ManaPlus Developers
+ * Copyright (C) 2013-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/sdl2helper.h b/src/utils/sdl2helper.h
index 7d2743815..9f625ee84 100644
--- a/src/utils/sdl2helper.h
+++ b/src/utils/sdl2helper.h
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2013 The ManaPlus Developers
+ * Copyright (C) 2013-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/sdlcheckutils.cpp b/src/utils/sdlcheckutils.cpp
index a3524aa91..028c2968f 100644
--- a/src/utils/sdlcheckutils.cpp
+++ b/src/utils/sdlcheckutils.cpp
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2013 The ManaPlus Developers
+ * Copyright (C) 2013-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/sdlcheckutils.h b/src/utils/sdlcheckutils.h
index 069a37057..ef1fc201e 100644
--- a/src/utils/sdlcheckutils.h
+++ b/src/utils/sdlcheckutils.h
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2013 The ManaPlus Developers
+ * Copyright (C) 2013-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/sdlhelper.cpp b/src/utils/sdlhelper.cpp
index 1511bedb1..0f5d67a59 100644
--- a/src/utils/sdlhelper.cpp
+++ b/src/utils/sdlhelper.cpp
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2013 The ManaPlus Developers
+ * Copyright (C) 2013-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/sdlhelper.h b/src/utils/sdlhelper.h
index 29d8241e3..a471268af 100644
--- a/src/utils/sdlhelper.h
+++ b/src/utils/sdlhelper.h
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2013 The ManaPlus Developers
+ * Copyright (C) 2013-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/specialfolder.cpp b/src/utils/specialfolder.cpp
index 9415e4d46..01e8556ca 100644
--- a/src/utils/specialfolder.cpp
+++ b/src/utils/specialfolder.cpp
@@ -1,7 +1,7 @@
/*
* The ManaPlus Client
* Copyright (C) 2010 The Mana Developers
- * Copyright (C) 2011-2013 The ManaPlus Developers
+ * Copyright (C) 2011-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/specialfolder.h b/src/utils/specialfolder.h
index 0506c5c26..d94ba6b1e 100644
--- a/src/utils/specialfolder.h
+++ b/src/utils/specialfolder.h
@@ -1,7 +1,7 @@
/*
* The ManaPlus Client
* Copyright (C) 2010 The Mana Developers
- * Copyright (C) 2011-2013 The ManaPlus Developers
+ * Copyright (C) 2011-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/stringutils.cpp b/src/utils/stringutils.cpp
index 6a4c3a085..8e657bb93 100644
--- a/src/utils/stringutils.cpp
+++ b/src/utils/stringutils.cpp
@@ -2,7 +2,7 @@
* The ManaPlus Client
* Copyright (C) 2007-2009 The Mana World Development Team
* Copyright (C) 2009-2010 The Mana Developers
- * Copyright (C) 2011-2013 The ManaPlus Developers
+ * Copyright (C) 2011-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/stringutils.h b/src/utils/stringutils.h
index 37d744823..02b1aa031 100644
--- a/src/utils/stringutils.h
+++ b/src/utils/stringutils.h
@@ -2,7 +2,7 @@
* The ManaPlus Client
* Copyright (C) 2007-2009 The Mana World Development Team
* Copyright (C) 2009-2010 The Mana Developers
- * Copyright (C) 2011-2013 The ManaPlus Developers
+ * Copyright (C) 2011-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/stringvector.h b/src/utils/stringvector.h
index fc313e0c3..d33c09452 100644
--- a/src/utils/stringvector.h
+++ b/src/utils/stringvector.h
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2012-2013 The ManaPlus Developers
+ * Copyright (C) 2012-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/timer.cpp b/src/utils/timer.cpp
index f6aab825c..f5245646e 100644
--- a/src/utils/timer.cpp
+++ b/src/utils/timer.cpp
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2011-2013 The ManaPlus Developers
+ * Copyright (C) 2011-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/timer.h b/src/utils/timer.h
index 40f8cc39d..2ced185a2 100644
--- a/src/utils/timer.h
+++ b/src/utils/timer.h
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2011-2013 The ManaPlus Developers
+ * Copyright (C) 2011-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/translation/podict.cpp b/src/utils/translation/podict.cpp
index 3941e776e..443fe56a3 100644
--- a/src/utils/translation/podict.cpp
+++ b/src/utils/translation/podict.cpp
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2012-2013 The ManaPlus Developers
+ * Copyright (C) 2012-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/translation/podict.h b/src/utils/translation/podict.h
index a39cee73f..36cf0d4af 100644
--- a/src/utils/translation/podict.h
+++ b/src/utils/translation/podict.h
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2012-2013 The ManaPlus Developers
+ * Copyright (C) 2012-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/translation/poparser.cpp b/src/utils/translation/poparser.cpp
index e624c85aa..76dae99a5 100644
--- a/src/utils/translation/poparser.cpp
+++ b/src/utils/translation/poparser.cpp
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2012-2013 The ManaPlus Developers
+ * Copyright (C) 2012-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/translation/poparser.h b/src/utils/translation/poparser.h
index 15aef53e3..dbf87b531 100644
--- a/src/utils/translation/poparser.h
+++ b/src/utils/translation/poparser.h
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2012-2013 The ManaPlus Developers
+ * Copyright (C) 2012-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/translation/translationmanager.cpp b/src/utils/translation/translationmanager.cpp
index eb7a98759..893e4d33f 100644
--- a/src/utils/translation/translationmanager.cpp
+++ b/src/utils/translation/translationmanager.cpp
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2012-2013 The ManaPlus Developers
+ * Copyright (C) 2012-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/translation/translationmanager.h b/src/utils/translation/translationmanager.h
index 8c75a8038..e7d42aa39 100644
--- a/src/utils/translation/translationmanager.h
+++ b/src/utils/translation/translationmanager.h
@@ -1,6 +1,6 @@
/*
* The ManaPlus Client
- * Copyright (C) 2012-2013 The ManaPlus Developers
+ * Copyright (C) 2012-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/xml.cpp b/src/utils/xml.cpp
index b87418079..a2de26ee3 100644
--- a/src/utils/xml.cpp
+++ b/src/utils/xml.cpp
@@ -2,7 +2,7 @@
* The ManaPlus Client
* Copyright (C) 2004-2009 The Mana World Development Team
* Copyright (C) 2009-2010 The Mana Developers
- * Copyright (C) 2011-2013 The ManaPlus Developers
+ * Copyright (C) 2011-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
diff --git a/src/utils/xml.h b/src/utils/xml.h
index a0a563498..0fa0ba078 100644
--- a/src/utils/xml.h
+++ b/src/utils/xml.h
@@ -2,7 +2,7 @@
* The ManaPlus Client
* Copyright (C) 2004-2009 The Mana World Development Team
* Copyright (C) 2009-2010 The Mana Developers
- * Copyright (C) 2011-2013 The ManaPlus Developers
+ * Copyright (C) 2011-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*