[Scummvm-cvs-logs] scummvm master -> afc6b2e617a6bef77963ac8b95cb424fa645668f

whoozle whoozle at yandex.ru
Sat Jun 18 12:54:55 CEST 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
afc6b2e617 DREAMWEB: fixed size check in stosw(size)


Commit: afc6b2e617a6bef77963ac8b95cb424fa645668f
    https://github.com/scummvm/scummvm/commit/afc6b2e617a6bef77963ac8b95cb424fa645668f
Author: Vladimir Menshakov (whoozle at yandex.ru)
Date: 2011-06-18T03:52:53-07:00

Commit Message:
DREAMWEB: fixed size check in stosw(size)

Changed paths:
    engines/dreamweb/runtime.h



diff --git a/engines/dreamweb/runtime.h b/engines/dreamweb/runtime.h
index bb67143..47dcbf8 100644
--- a/engines/dreamweb/runtime.h
+++ b/engines/dreamweb/runtime.h
@@ -499,7 +499,7 @@ public:
 	}
 
 	inline void _stosw(uint size, bool clear_cx = false) {
-		uint8 *dst = es.ptr(di, size);
+		uint8 *dst = es.ptr(di, size * 2);
 		di += 2 * size;
 		while(size--) {
 			*dst++ = al;






More information about the Scummvm-git-logs mailing list