summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2008-10-23 20:07:06 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2008-10-23 20:07:06 +0000
commitafa57ceea0df1ce1ca494d7794e2f6542befc214 (patch)
tree9ff57e3e712fcd7f030045d4cc23a2557c09bed6 /tools
parent94ad7e84ea9a746e4c52a07de31e9055e00bbdc5 (diff)
downloadMana-afa57ceea0df1ce1ca494d7794e2f6542befc214.tar.gz
Mana-afa57ceea0df1ce1ca494d7794e2f6542befc214.tar.bz2
Mana-afa57ceea0df1ce1ca494d7794e2f6542befc214.tar.xz
Mana-afa57ceea0df1ce1ca494d7794e2f6542befc214.zip
Added missing header and print newline at end of usage instructions
Diffstat (limited to 'tools')
-rw-r--r--tools/tmxcopy/main.cpp2
-rw-r--r--tools/tmxcopy/map.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/tmxcopy/main.cpp b/tools/tmxcopy/main.cpp
index 92a69c54..f50c0af4 100644
--- a/tools/tmxcopy/main.cpp
+++ b/tools/tmxcopy/main.cpp
@@ -28,7 +28,7 @@ int main(int argc, char * argv[] )
// parsing command line options
if (argc < 9 || argc > 10)
{
- std::cerr<<"Usage: srcFile x y width height tgtFile x y [outfile]";
+ std::cerr<<"Usage: srcFile x y width height tgtFile x y [outfile]\n";
return -1;
}
diff --git a/tools/tmxcopy/map.cpp b/tools/tmxcopy/map.cpp
index e0212e37..c60409c6 100644
--- a/tools/tmxcopy/map.cpp
+++ b/tools/tmxcopy/map.cpp
@@ -22,6 +22,7 @@
#include <map>
#include <list>
+#include <string.h>
#include <zlib.h>
#include "xmlutils.h"