[Scummvm-cvs-logs] SF.net SVN: scummvm: [22324] scummvm/trunk/gui/browser.cpp
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Wed May 3 20:45:15 CEST 2006
Revision: 22324
Author: eriktorbjorn
Date: 2006-05-03 20:44:50 -0700 (Wed, 03 May 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=22324&view=rev
Log Message:
-----------
Checking if the node isValid() is no longer an option, but isDirectory() should
serve the same purpose, I believe.
Modified Paths:
--------------
scummvm/trunk/gui/browser.cpp
Modified: scummvm/trunk/gui/browser.cpp
===================================================================
--- scummvm/trunk/gui/browser.cpp 2006-05-04 02:41:50 UTC (rev 22323)
+++ scummvm/trunk/gui/browser.cpp 2006-05-04 03:44:50 UTC (rev 22324)
@@ -159,7 +159,7 @@
void BrowserDialog::open() {
if (ConfMan.hasKey("browser_lastpath"))
_node = FilesystemNode(ConfMan.get("browser_lastpath"));
- if (!_node.isValid())
+ if (!_node.isDirectory())
_node = FilesystemNode();
// Alway refresh file list
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