diff options
| author | Vicent Marti | 2008-09-20 10:32:59 +0000 |
|---|---|---|
| committer | Vicent Marti | 2008-09-20 10:32:59 +0000 |
| commit | 6699a596ed439d25c5a803ae361fabdcd630d632 (patch) | |
| tree | 5d6539b809c58a379cf6322c22c6a7e77e4b0c2f /common | |
| parent | 221b4a47aea63bdf05b17def32f2a722f230d433 (diff) | |
| download | scummvm-rg350-6699a596ed439d25c5a803ae361fabdcd630d632.tar.gz scummvm-rg350-6699a596ed439d25c5a803ae361fabdcd630d632.tar.bz2 scummvm-rg350-6699a596ed439d25c5a803ae361fabdcd630d632.zip | |
Fixed "empty control statement" warning in FSDirectory::matchPattern().
svn-id: r34605
Diffstat (limited to 'common')
| -rw-r--r-- | common/archive.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/archive.cpp b/common/archive.cpp index 96ecb52315..7e17fdca32 100644 --- a/common/archive.cpp +++ b/common/archive.cpp @@ -175,7 +175,7 @@ int FSDirectory::matchPattern(StringList &list, const String &pattern) { // Add all filenames from our cache NodeCache::iterator it = _fileCache.begin(); for ( ; it != _fileCache.end(); it++) { - if (it->_key.matchString(pattern)); + if (it->_key.matchString(pattern)) list.push_back(it->_key); } |
