diff options
author | Matthew Stewart | 2018-07-28 14:31:26 -0400 |
---|---|---|
committer | Eugene Sandulenko | 2018-08-09 08:37:30 +0200 |
commit | 982502650f8b6378f30dfbd324cd7881f6e30ab0 (patch) | |
tree | 80a2955d80c694f9f7eceefa39146c5c64e9c99b /engines/startrek/textbox.cpp | |
parent | be4174dc3df84e89dbab95af1b6f4af896c08125 (diff) | |
download | scummvm-rg350-982502650f8b6378f30dfbd324cd7881f6e30ab0.tar.gz scummvm-rg350-982502650f8b6378f30dfbd324cd7881f6e30ab0.tar.bz2 scummvm-rg350-982502650f8b6378f30dfbd324cd7881f6e30ab0.zip |
STARTREK: Replace min & max with MIN & MAX
Diffstat (limited to 'engines/startrek/textbox.cpp')
-rw-r--r-- | engines/startrek/textbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/startrek/textbox.cpp b/engines/startrek/textbox.cpp index e32f456bc0..f82369c867 100644 --- a/engines/startrek/textbox.cpp +++ b/engines/startrek/textbox.cpp @@ -142,7 +142,7 @@ String StarTrekEngine::centerTextboxHeader(String headerText) { text[TEXT_CHARS_PER_LINE] = '\0'; int strlen = headerText.size(); - strlen = min(strlen, TEXT_CHARS_PER_LINE); + strlen = MIN(strlen, TEXT_CHARS_PER_LINE); memcpy(text + (TEXT_CHARS_PER_LINE - strlen) / 2, headerText.c_str(), strlen); |