summaryrefslogtreecommitdiff
path: root/lib/texture.cc
diff options
context:
space:
mode:
authorpixel <pixel>2003-07-12 03:12:36 +0000
committerpixel <pixel>2003-07-12 03:12:36 +0000
commitd265a7fde35d0b5040f79d490d137deaff57f0b7 (patch)
tree454854b79e27f91199cc1319a562388aa4e640ba /lib/texture.cc
parente0f0cfd81fbec4fc20a591409f1bef67e16d62e7 (diff)
Fixed some win32 things
Diffstat (limited to 'lib/texture.cc')
-rw-r--r--lib/texture.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/texture.cc b/lib/texture.cc
index 43c8ac3..d7cfa7c 100644
--- a/lib/texture.cc
+++ b/lib/texture.cc
@@ -264,7 +264,7 @@ void mogltk::texture::Taint(void) {
SDL_Surface * mogltk::texture::LoadNTEX(Handle * h) throw (GeneralException) {
SDL_Surface * r;
- char buffer[4];
+ char buffer[5];
Uint16 height, width;
h->read(buffer, 4);