From 59c054938a7fd2036badbecfbb3b72ad55b0e820 Mon Sep 17 00:00:00 2001 From: Jordi Vilalta Prat Date: Tue, 19 Oct 2010 22:34:26 +0000 Subject: LASTEXPRESS: Fix some space formatting. svn-id: r53629 --- engines/lastexpress/data/scene.cpp | 4 ++-- engines/lastexpress/data/subtitle.cpp | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'engines/lastexpress/data') diff --git a/engines/lastexpress/data/scene.cpp b/engines/lastexpress/data/scene.cpp index e1be515bbc..a48bbc9de5 100644 --- a/engines/lastexpress/data/scene.cpp +++ b/engines/lastexpress/data/scene.cpp @@ -51,7 +51,7 @@ SceneHotspot *SceneHotspot::load(Common::SeekableReadStream *stream) { hs->cursor = stream->readByte(); hs->next = stream->readUint32LE(); - debugC(10, kLastExpressDebugScenes, "\thotspot: scene=%d location=%02d action=%d param1=%02d param2=%02d param3=%02d cursor=%02d rect=(%d, %d)x(%d,%d)", + debugC(10, kLastExpressDebugScenes, "\thotspot: scene=%d location=%02d action=%d param1=%02d param2=%02d param3=%02d cursor=%02d rect=(%d, %d)x(%d, %d)", hs->scene, hs->location, hs->action, hs->param1, hs->param2, hs->param3, hs->cursor, hs->rect.left, hs->rect.top, hs->rect.right, hs->rect.bottom); debugC(10, kLastExpressDebugScenes, "\t coords=%d next=%d ", hs->coordsOffset, hs->next); @@ -79,7 +79,7 @@ SceneHotspot *SceneHotspot::load(Common::SeekableReadStream *stream) { Common::String SceneHotspot::toString() const { Common::String output = ""; - output += Common::String::printf(" hotspot: scene=%d location=%02d action=%d param1=%02d param2=%02d param3=%02d cursor=%02d rect=(%d, %d)x(%d,%d)", + output += Common::String::printf(" hotspot: scene=%d location=%02d action=%d param1=%02d param2=%02d param3=%02d cursor=%02d rect=(%d, %d)x(%d, %d)", scene, location, action, param1, param2, param3, cursor, rect.left, rect.top, rect.right, rect.bottom); return output; diff --git a/engines/lastexpress/data/subtitle.cpp b/engines/lastexpress/data/subtitle.cpp index fb7d4ec6fa..08652a293d 100644 --- a/engines/lastexpress/data/subtitle.cpp +++ b/engines/lastexpress/data/subtitle.cpp @@ -72,8 +72,7 @@ void Subtitle::reset() { } template -T *newArray(size_t n) -{ +T *newArray(size_t n) { if (n <= (size_t)-1 / sizeof(T)) return new T[n]; -- cgit v1.2.3