aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/data
diff options
context:
space:
mode:
authorJordi Vilalta Prat2010-10-19 22:34:26 +0000
committerJordi Vilalta Prat2010-10-19 22:34:26 +0000
commit59c054938a7fd2036badbecfbb3b72ad55b0e820 (patch)
tree3fbc8ec383c10ba88ca88b44c875e479386e7cd4 /engines/lastexpress/data
parente4029f6f0e5aa9dc679ce875fb7625c564c69144 (diff)
downloadscummvm-rg350-59c054938a7fd2036badbecfbb3b72ad55b0e820.tar.gz
scummvm-rg350-59c054938a7fd2036badbecfbb3b72ad55b0e820.tar.bz2
scummvm-rg350-59c054938a7fd2036badbecfbb3b72ad55b0e820.zip
LASTEXPRESS: Fix some space formatting.
svn-id: r53629
Diffstat (limited to 'engines/lastexpress/data')
-rw-r--r--engines/lastexpress/data/scene.cpp4
-rw-r--r--engines/lastexpress/data/subtitle.cpp3
2 files changed, 3 insertions, 4 deletions
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<typename T>
-T *newArray(size_t n)
-{
+T *newArray(size_t n) {
if (n <= (size_t)-1 / sizeof(T))
return new T[n];