diff options
author | Paul Gilbert | 2014-03-08 10:28:59 -0500 |
---|---|---|
committer | Paul Gilbert | 2014-03-08 10:28:59 -0500 |
commit | 9c88ed16828ef6dde467fc03bb9af8d04b0bb3e2 (patch) | |
tree | 1f7094b8859a5fa87ca68efed1efca791dd53c23 | |
parent | 0f214e4c9d72d088ccf088496710b20576ec73f5 (diff) | |
download | scummvm-rg350-9c88ed16828ef6dde467fc03bb9af8d04b0bb3e2.tar.gz scummvm-rg350-9c88ed16828ef6dde467fc03bb9af8d04b0bb3e2.tar.bz2 scummvm-rg350-9c88ed16828ef6dde467fc03bb9af8d04b0bb3e2.zip |
MADS: Fix loading user interface background
-rw-r--r-- | engines/mads/interface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/interface.cpp b/engines/mads/interface.cpp index e3105614ca..79ae1d7826 100644 --- a/engines/mads/interface.cpp +++ b/engines/mads/interface.cpp @@ -77,7 +77,7 @@ void InterfaceSurface::setup(int id) { // Strip off any extension const char *p = strchr(resName.c_str(), '.'); if (p) { - resName = Common::String(resName.c_str(), p - 1); + resName = Common::String(resName.c_str(), p); } // Add on suffix if necessary |