summaryrefslogtreecommitdiff
path: root/lib/texture.cc
diff options
context:
space:
mode:
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);