aboutsummaryrefslogtreecommitdiff
path: root/engines/startrek/text.cpp
diff options
context:
space:
mode:
authorMatthew Stewart2018-07-23 22:21:56 -0400
committerEugene Sandulenko2018-08-09 08:37:30 +0200
commitaa68655742c94026c701dafc1ef6efb032774434 (patch)
tree594adfd9be24b2c087ab71d07f5f78ffedf9905e /engines/startrek/text.cpp
parent0e85e19ee7530b4d41668982e0b10f04d6f29741 (diff)
downloadscummvm-rg350-aa68655742c94026c701dafc1ef6efb032774434.tar.gz
scummvm-rg350-aa68655742c94026c701dafc1ef6efb032774434.tar.bz2
scummvm-rg350-aa68655742c94026c701dafc1ef6efb032774434.zip
STARTREK: Formatting corrections
Diffstat (limited to 'engines/startrek/text.cpp')
-rw-r--r--engines/startrek/text.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/startrek/text.cpp b/engines/startrek/text.cpp
index 0d6d469e2d..b53b0b903b 100644
--- a/engines/startrek/text.cpp
+++ b/engines/startrek/text.cpp
@@ -68,7 +68,7 @@ const char *StarTrekEngine::getNextTextLine(const char *text, char *lineOutput,
}
if (*text == ' ') {
*lineOutput = '\0';
- return text+1;
+ return text + 1;
}
if (lastSpaceOutput == nullptr) { // Long word couldn't fit on line
*lineOutput = '\0';
@@ -165,7 +165,7 @@ String StarTrekEngine::skipTextAudioPrompt(const String &str) {
text++;
}
- return String(text+1);
+ return String(text + 1);
}
String StarTrekEngine::playTextAudio(const String &str) {
@@ -186,7 +186,7 @@ String StarTrekEngine::playTextAudio(const String &str) {
soundFile[len] = '\0';
playSpeech(soundFile);
- return String(text+1);
+ return String(text + 1);
}
int StarTrekEngine::showText(TextGetterFunc textGetter, uintptr var, int xoffset, int yoffset, int textColor, bool loopChoices, int maxTextLines, bool rclickCancelsChoice) {