diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-09-17 22:08:46 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-09-17 22:08:46 +0000 |
commit | 3feb824e05df222f99bd7c296469073c5c957446 (patch) | |
tree | eb06243e2591e51df6704b80d8930653e71c4def /src/net/messageout.cpp | |
parent | bda21b100542279c7a58d1dd25ff6e3acda3d66c (diff) | |
download | mana-3feb824e05df222f99bd7c296469073c5c957446.tar.gz mana-3feb824e05df222f99bd7c296469073c5c957446.tar.bz2 mana-3feb824e05df222f99bd7c296469073c5c957446.tar.xz mana-3feb824e05df222f99bd7c296469073c5c957446.zip |
configure.ac: Fix typo.
src/Makefile.am: Remove useless (duplicate) -lpng.
src/graphics.cpp: Add missing cstdarg header.
src/net/messagein.cpp: Fix some funny looking preprocessor statement.
src/net/messageout.cpp: Readd SDLnet header, for changed preprocessor stuff.
Diffstat (limited to 'src/net/messageout.cpp')
-rw-r--r-- | src/net/messageout.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/messageout.cpp b/src/net/messageout.cpp index ed66f454..daf5ebf4 100644 --- a/src/net/messageout.cpp +++ b/src/net/messageout.cpp @@ -24,7 +24,7 @@ #include "messageout.h" #include <string> -//#include <SDL_net.h> +#include <SDL_net.h> #include "win2mac.h" #include "network.h" @@ -106,7 +106,7 @@ void MessageOut::writeString(const std::string &string, int length) toWrite = string.substr(0, length); expand(mPos + length); } - + // Write the actual string memcpy(&mData[mPos], (void*)toWrite.c_str(), toWrite.length()); mPos += toWrite.length(); |