[Scummvm-cvs-logs] SF.net SVN: scummvm: [22318] scummvm/trunk/gui/browser.cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Wed May 3 13:52:09 CEST 2006
Revision: 22318
Author: fingolfin
Date: 2006-05-03 13:51:06 -0700 (Wed, 03 May 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=22318&view=rev
Log Message:
-----------
Fix listDir call in BrowserDialog
Modified Paths:
--------------
scummvm/trunk/gui/browser.cpp
Modified: scummvm/trunk/gui/browser.cpp
===================================================================
--- scummvm/trunk/gui/browser.cpp 2006-05-03 20:49:33 UTC (rev 22317)
+++ scummvm/trunk/gui/browser.cpp 2006-05-03 20:51:06 UTC (rev 22318)
@@ -225,10 +225,8 @@
ConfMan.set("browser_lastpath", _node.path());
// Read in the data from the file system
- if (_isDirBrowser)
- _nodeContent = _node.listDir(FilesystemNode::kListDirectoriesOnly);
- else
- _nodeContent = _node.listDir(FilesystemNode::kListAll);
+ _node.listDir(_nodeContent, _isDirBrowser ? FilesystemNode::kListDirectoriesOnly
+ : FilesystemNode::kListAll);
Common::sort(_nodeContent.begin(), _nodeContent.end());
// Populate the ListWidget
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list