Fix linker issues when doing a plugin build, and (hopefully) also on Windows

svn-id: r28950
This commit is contained in:
Max Horn 2007-09-18 21:34:57 +00:00
parent 162460d18a
commit ab8997f64d
11 changed files with 24 additions and 17 deletions

View file

@ -82,7 +82,7 @@ public:
* @param str String containing the path.
* @return Pointer to the first char of the last component inside str.
*/
static const char *lastPathComponent(const Common::String &str) {
const char *lastPathComponent(const Common::String &str) {
const char *start = str.c_str();
const char *cur = start + str.size() - 2;