diff options
Diffstat (limited to 'engines/mads/resources.cpp')
-rw-r--r-- | engines/mads/resources.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/mads/resources.cpp b/engines/mads/resources.cpp index f85d5ce340..140a34749a 100644 --- a/engines/mads/resources.cpp +++ b/engines/mads/resources.cpp @@ -308,8 +308,7 @@ Common::String Resources::formatName(int prefix, char asciiCh, int id, EXTTYPE e Common::String result; if (prefix <= 0) { result = "*"; - } - else { + } else { result = Common::String::format("%s%.3d", (prefix < 100) ? "*SC" : "*RM", prefix); } |