diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/wage/util.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/wage/util.cpp b/engines/wage/util.cpp index 2586c2884e..51fcd2d6ec 100644 --- a/engines/wage/util.cpp +++ b/engines/wage/util.cpp @@ -57,10 +57,7 @@ Common::String readPascalString(Common::SeekableReadStream *in) { int len; int i; - len = in->readSByte(); - if (len < 0) - len += 256; - + len = in->readByte(); buf = (char *)malloc(len + 1); for (i = 0; i < len; i++) { buf[i] = in->readByte(); |