[Scummvm-cvs-logs] SF.net SVN: scummvm:[45630] scummvm/trunk/engines/sci/gui/gui_cursor.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Tue Nov 3 15:20:58 CET 2009
Revision: 45630
http://scummvm.svn.sourceforge.net/scummvm/?rev=45630&view=rev
Author: thebluegr
Date: 2009-11-03 14:20:57 +0000 (Tue, 03 Nov 2009)
Log Message:
-----------
Fixed the deletion of cursorBitmap
Modified Paths:
--------------
scummvm/trunk/engines/sci/gui/gui_cursor.cpp
Modified: scummvm/trunk/engines/sci/gui/gui_cursor.cpp
===================================================================
--- scummvm/trunk/engines/sci/gui/gui_cursor.cpp 2009-11-03 12:48:32 UTC (rev 45629)
+++ scummvm/trunk/engines/sci/gui/gui_cursor.cpp 2009-11-03 14:20:57 UTC (rev 45630)
@@ -165,7 +165,7 @@
CursorMan.replaceCursor(cursorBitmap, width, height, cursorHotspot->x, cursorHotspot->y, clearKey);
if (_upscaledHires)
- delete cursorBitmap;
+ delete[] cursorBitmap;
show();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list