diff options
author | Max Horn | 2007-09-18 21:34:57 +0000 |
---|---|---|
committer | Max Horn | 2007-09-18 21:34:57 +0000 |
commit | ab8997f64d069d28c33aca830a6b0574bf6fcda3 (patch) | |
tree | 524afd9f62caa5e1013183a9f45ad5132782a167 /backends/fs/gp32 | |
parent | 162460d18ab91c213e4e57c3deea4b591b60a966 (diff) | |
download | scummvm-rg350-ab8997f64d069d28c33aca830a6b0574bf6fcda3.tar.gz scummvm-rg350-ab8997f64d069d28c33aca830a6b0574bf6fcda3.tar.bz2 scummvm-rg350-ab8997f64d069d28c33aca830a6b0574bf6fcda3.zip |
Fix linker issues when doing a plugin build, and (hopefully) also on Windows
svn-id: r28950
Diffstat (limited to 'backends/fs/gp32')
-rw-r--r-- | backends/fs/gp32/gp32-fs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/fs/gp32/gp32-fs.cpp b/backends/fs/gp32/gp32-fs.cpp index a4af5d4fbe..1585bd22f1 100644 --- a/backends/fs/gp32/gp32-fs.cpp +++ b/backends/fs/gp32/gp32-fs.cpp @@ -82,7 +82,7 @@ const char gpRootPath[] = "gp:\\"; * @param str Path to obtain the last component from. * @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; @@ -214,7 +214,7 @@ bool GP32FilesystemNode::getChildren(AbstractFSList &myList, ListMode mode, bool //listDir += "/"; while (GpDirEnumList(listDir.c_str(), startIdx++, 1, &dirEntry, &read) == SM_OK) { - if (dirEntry.name[0] == '.') +da if (dirEntry.name[0] == '.') continue; entry._displayName = dirEntry.name; |